This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[PATH]fix chi2_quality.cc failure for all 32-bit architectures running in simulator
- From: Renlin Li <renlin dot li at arm dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Ramana Radhakrishnan <Ramana dot Radhakrishnan at arm dot com>, Matt Austern <austern at google dot com>
- Date: Tue, 19 Nov 2013 17:32:58 +0000
- Subject: [PATH]fix chi2_quality.cc failure for all 32-bit architectures running in simulator
- Authentication-results: sourceware.org; auth=none
Hi all,
This is a simple patch to increase the SAMPLES for targets running in
simulator to a bigger value. This will make this test case pass for all
arm target linking with glibc.
A discussion thread in the mailing list is here:
http://gcc.gnu.org/ml/libstdc++/2013-10/msg00253.html
Okay to commit?
libstdc++-v3/ChangeLog:
2013-11-06 Renlin Li <Renlin.Li@arm.com>
* testsuite/20_util/hash/chi2_quality.cc: Change -DSAMPLES=30000.diff --git a/libstdc++-v3/testsuite/20_util/hash/chi2_quality.cc b/libstdc++-v3/testsuite/20_util/hash/chi2_quality.cc
index dbf1cf7..4e50da0 100644
--- a/libstdc++-v3/testsuite/20_util/hash/chi2_quality.cc
+++ b/libstdc++-v3/testsuite/20_util/hash/chi2_quality.cc
@@ -1,7 +1,7 @@
// { dg-options "-std=gnu++0x" }
// Use smaller statistics when running on simulators, so it takes less time.
-// { dg-options "-std=gnu++0x -DSAMPLES=10000" { target simulator } }
+// { dg-options "-std=gnu++0x -DSAMPLES=30000" { target simulator } }
// Copyright (C) 2010-2013 Free Software Foundation, Inc.
//