stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elemi...@apache.org
Subject svn commit: r650697 - /stdcxx/trunk/tests/localization/22.locale.synopsis.cpp
Date Tue, 22 Apr 2008 23:35:45 GMT
Author: elemings
Date: Tue Apr 22 16:35:43 2008
New Revision: 650697

URL: http://svn.apache.org/viewvc?rev=650697&view=rev
Log:
2008-04-22  Eric Lemings  <eric.lemings@roguewave.com>

	STDCXX-869
	* tests/localization/22.locale.synopsis.cpp: Changed command-line
	option so that POSIX-related tests are disabled by default.


Modified:
    stdcxx/trunk/tests/localization/22.locale.synopsis.cpp

Modified: stdcxx/trunk/tests/localization/22.locale.synopsis.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/localization/22.locale.synopsis.cpp?rev=650697&r1=650696&r2=650697&view=diff
==============================================================================
--- stdcxx/trunk/tests/localization/22.locale.synopsis.cpp (original)
+++ stdcxx/trunk/tests/localization/22.locale.synopsis.cpp Tue Apr 22 16:35:43 2008
@@ -841,7 +841,7 @@
 
 
 // skip POSIX-dependent behavior
-static int opt_no_posix          = 0;   // --no-posix
+static int opt_enable_posix      = 0;   // --enable-posix
 
 
 template <class charT>
@@ -897,7 +897,7 @@
                    std::ctype_base::alnum,
                    std::ctype_base::alpha | std::ctype_base::digit);
 
-        if (!opt_no_posix) {
+        if (opt_enable_posix) {
             // POSIX allows graph characters that aren't alnum or punct
             // 22.2.1 says the numeric values are for exposition only
             // which presumably applies to all the constants
@@ -1987,6 +1987,6 @@
 {
     return rw_test (argc, argv, __FILE__,
                     "lib.locales", "header <locale> synopsis",
-                    run_test, "|-no-posix# ", &opt_no_posix);
+                    run_test, "|-enable-posix# ", &opt_enable_posix);
 }
 



Mime
View raw message