stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ant...@apache.org
Subject svn commit: r387196 - /incubator/stdcxx/trunk/tests/strings/21.string.capacity.cpp
Date Mon, 20 Mar 2006 12:20:13 GMT
Author: antonp
Date: Mon Mar 20 04:19:37 2006
New Revision: 387196

URL: http://svn.apache.org/viewcvs?rev=387196&view=rev
Log:
2006-03-20  Anton Pevtsov  <antonp@moscow.vdiweb.com>

	* 21.string.capacity.cpp (run_test): Fixed bug in options processing
	(main): Fixed bug with missed '#' sign in options.

Modified:
    incubator/stdcxx/trunk/tests/strings/21.string.capacity.cpp

Modified: incubator/stdcxx/trunk/tests/strings/21.string.capacity.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/strings/21.string.capacity.cpp?rev=387196&r1=387195&r2=387196&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/strings/21.string.capacity.cpp (original)
+++ incubator/stdcxx/trunk/tests/strings/21.string.capacity.cpp Mon Mar 20 04:19:37 2006
@@ -776,11 +776,11 @@
         test_ ## function (pfid);                       \
     } (void)0
 
-    if (pfid->tname_ && rw_opt_no_user_traits) {
+    if (MemFun::UserTraits == pfid->tid_ && rw_opt_no_user_traits) {
         rw_note (1 < rw_opt_no_user_traits++, 0, 0,
                  "user defined traits test disabled");
     }
-    else if (!pfid->tname_ && rw_opt_no_char_traits) {
+    else if (MemFun::DefaultTraits == pfid->tid_ && rw_opt_no_char_traits) {
         rw_note (1 < rw_opt_no_char_traits++, 0, 0,
                  "char_traits test disabled");
     }
@@ -860,7 +860,7 @@
                     "|-no-empty# "
                     "|-no-exceptions# "
                     "|-no-char_traits# "
-                    "|-no-user_traits",
+                    "|-no-user_traits#",
                     &rw_opt_no_size,
                     &rw_opt_no_resize,
                     &rw_opt_no_length,



Mime
View raw message