This is the mail archive of the mailing list for the GCC 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]

[v3] Tweak testcase for 12438


this just robustifies a bit the testcase, thus avoiding spurious
failures on some ia64 and x86_64 machines.

I have also checked by hand on those machines that keeping the
memory limit at 10M and increasing the number of iterations beyond
30000 (say, 60000) is still ok, meaning that in fact no leaks are
currently present in the library, but doing this in the testsuite
is inpractical because increases the run time.


2003-12-10  Paolo Carlini  <>

	* testsuite/22_locale/locale/cons/ Tweak memory
	limit and iterations to avoid spurious failures on some
	64 bit machines.
diff -urN libstdc++-v3-orig/testsuite/22_locale/locale/cons/ libstdc++-v3/testsuite/22_locale/locale/cons/
--- libstdc++-v3-orig/testsuite/22_locale/locale/cons/	2003-10-09 18:11:40.000000000 +0200
+++ libstdc++-v3/testsuite/22_locale/locale/cons/	2003-12-10 10:10:25.000000000 +0100
@@ -57,8 +57,8 @@
 int main(int argc, char* argv[])
   // We leaked ~400-500 bytes/iter.
-  __gnu_test::set_memory_limits(5.0);
-  int iters = 20000;
+  __gnu_test::set_memory_limits(10.0);
+  int iters = 30000;
   if (argc > 1)
     iters = atoi(argv[1]);

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