stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r358459 - in /incubator/stdcxx/trunk/tests: diagnostics/19.exceptions.mt.cpp strings/21.string.push_back.mt.cpp
Date Thu, 22 Dec 2005 03:01:08 GMT
Author: sebor
Date: Wed Dec 21 19:01:04 2005
New Revision: 358459

URL: http://svn.apache.org/viewcvs?rev=358459&view=rev
Log:
i2005-12-21  Martin Sebor  <sebor@roguewave.com>

	* 19.exceptions.mt.cpp: Passed the upper bound of the restricted numeric
	option specification as an argument instead of hardcoding it in the
	string.
	* 21.string.push_back.mt.cpp: Same.

Modified:
    incubator/stdcxx/trunk/tests/diagnostics/19.exceptions.mt.cpp
    incubator/stdcxx/trunk/tests/strings/21.string.push_back.mt.cpp

Modified: incubator/stdcxx/trunk/tests/diagnostics/19.exceptions.mt.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/diagnostics/19.exceptions.mt.cpp?rev=358459&r1=358458&r2=358459&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/diagnostics/19.exceptions.mt.cpp (original)
+++ incubator/stdcxx/trunk/tests/diagnostics/19.exceptions.mt.cpp Wed Dec 21 19:01:04 2005
@@ -1,7 +1,7 @@
 /***************************************************************************
  *
- * exceptions_mt.cpp - test exercising the thread safety
- *                     of C++ Standard Library exception classes
+ * 19.exceptions.mt.cpp - test exercising the thread safety of
+ *                        the C++ Standard Library exception classes
  *
  * $Id$
  *
@@ -349,7 +349,8 @@
                     "lib.std.exceptions",
                     "thread safety", run_test,
                     "|-nloops#0 "        // must be non-negative
-                    "|-nthreads#0-32",   // must be between 0 and 32
+                    "|-nthreads#0-*",    // must be in [0, MAX_THREADS]
                     &rw_opt_nloops,
+                    int (MAX_THREADS),
                     &rw_opt_nthreads);
 }

Modified: incubator/stdcxx/trunk/tests/strings/21.string.push_back.mt.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/strings/21.string.push_back.mt.cpp?rev=358459&r1=358458&r2=358459&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/strings/21.string.push_back.mt.cpp (original)
+++ incubator/stdcxx/trunk/tests/strings/21.string.push_back.mt.cpp Wed Dec 21 19:01:04 2005
@@ -133,8 +133,9 @@
     return rw_test (argc, argv, __FILE__,
                     "lib.string.push_back",
                     "thread safety", run_test,
-                    "|-nloops#0 "        // must be non-negative
-                    "|-nthreads#0-32",   // must be between 0 and 32
+                    "|-nloops#0 "       // must be non-negative
+                    "|-nthreads#0-*",   // must be in [0, MAX_THREADS]
                     &rw_opt_nloops,
+                    int (MAX_THREADS),
                     &rw_opt_nthreads);
 }



Mime
View raw message