[PATCH][Revision4]: Don't XFAIL 21674.cc on darwin

Jack Howarth howarth@bromo.med.uc.edu
Thu Dec 18 00:47:00 GMT 2008


The attached patch corrects the syntax of a negative xfail on linux for
libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc and implements the
same for libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc
and libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/21674.cc on
darwin to eliminate a the last two XPASS's in the libstdc++-v3 testsuite on
i686-apple-darwin9. Tested on same. Okay for gcc trunk.                        
                         Jack

2008-12-17  Jack Howarth  <howarth@bromo.med.uc.edu>

	* testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc: Add xfail on
	all targets except darwin.
	* libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/21674.cc: Same.
	* libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc: Correct syntax for xfailing on
	all targets except linux.

Index: libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc
===================================================================
--- libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc	(revision 142804)
+++ libstdc++-v3/testsuite/21_strings/basic_string/element_access/wchar_t/21674.cc	(working copy)
@@ -1,6 +1,6 @@
+// { dg-do run { xfail !*-*-darwin* } }
 // { dg-require-debug-mode "" }
 // { dg-options "-O0 -D_GLIBCXX_DEBUG" }
-// { dg-do run { xfail *-*-* } }
 
 // Copyright (C) 2005 Free Software Foundation, Inc.
 //
Index: libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/21674.cc
===================================================================
--- libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/21674.cc	(revision 142804)
+++ libstdc++-v3/testsuite/21_strings/basic_string/element_access/char/21674.cc	(working copy)
@@ -1,6 +1,6 @@
+// { dg-do run { xfail !*-*-darwin* } }
 // { dg-require-debug-mode "" }
 // { dg-options "-O0 -D_GLIBCXX_DEBUG" }
-// { dg-do run { xfail *-*-* } }
 
 // Copyright (C) 2005 Free Software Foundation, Inc.
 //
Index: libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc
===================================================================
--- libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc	(revision 142804)
+++ libstdc++-v3/testsuite/22_locale/ctype/is/char/2.cc	(working copy)
@@ -1,4 +1,4 @@
-// { dg-do run { xfail *-*-![linux]* } }
+// { dg-do run { xfail !*-*-linux* } }
 // { dg-require-namedlocale "" }
 
 // Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005



More information about the Gcc-patches mailing list