This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

PATCH: Hide XFAILs related to unknown named locale


As committed to address another class of XFAILs.  FYI, these are not
marked in the traditional manner since they are run-time XFAILs not
compile-time XFAILs.

	* testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
	missing named locale.

Index: libstdc++-v3/testsuite/testsuite_hooks.cc
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/testsuite/testsuite_hooks.cc,v
retrieving revision 1.9
diff -c -r1.9 testsuite_hooks.cc
*** libstdc++-v3/testsuite/testsuite_hooks.cc	11 Mar 2003 05:32:56 -0000	1.9
--- libstdc++-v3/testsuite/testsuite_hooks.cc	14 Mar 2003 21:40:17 -0000
***************
*** 157,162 ****
--- 157,164 ----
        {
  	if (std::strstr (ex.what(), "unhandled name in generic implementation"))
  	  return;
+ 	else if (std::strstr (ex.what(), "unknown name"))
+ 	  return;
  	else
  	  throw;
        }
***************
*** 192,197 ****
--- 194,201 ----
        {
  	if (std::strstr (ex.what(), "unhandled name in generic implementation"))
  	  return;
+ 	else if (std::strstr (ex.what(), "unknown name"))
+ 	  return;
  	else
  	  throw;
        }
***************
*** 218,223 ****
--- 222,229 ----
      catch (std::runtime_error& ex)
        {
  	if (std::strstr (ex.what(), "unhandled name in generic implementation"))
+ 	  return;
+ 	else if (std::strstr (ex.what(), "unknown name"))
  	  return;
  	else
  	  throw;


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