This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATH]fix chi2_quality.cc failure for all 32-bit architectures running in simulator


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.
 //

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]