PATCH: Hide XFAILs related to unknown named locale
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Fri Mar 14 21:44:00 GMT 2003
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;
More information about the Libstdc++
mailing list