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

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

From-SVN: r64372
This commit is contained in:
Loren J. Rittle 2003-03-14 21:41:26 +00:00 committed by Loren J. Rittle
parent 18a3ddd71a
commit 98d2dec7e3
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-03-14 Loren J. Rittle <ljrittle@acm.org>
* testsuite/testsuite_hooks.h: Suppress runtime exception thrown by
missing named locale.
2003-03-14 Andreas Schwab <schwab@suse.de>
* configure.in: Only append to makefiles that are newly created to

View File

@ -157,6 +157,8 @@ namespace __gnu_cxx_test
{
if (std::strstr (ex.what(), "unhandled name in generic implementation"))
return;
else if (std::strstr (ex.what(), "unknown name"))
return;
else
throw;
}
@ -192,6 +194,8 @@ namespace __gnu_cxx_test
{
if (std::strstr (ex.what(), "unhandled name in generic implementation"))
return;
else if (std::strstr (ex.what(), "unknown name"))
return;
else
throw;
}
@ -219,6 +223,8 @@ namespace __gnu_cxx_test
{
if (std::strstr (ex.what(), "unhandled name in generic implementation"))
return;
else if (std::strstr (ex.what(), "unknown name"))
return;
else
throw;
}