gcc/libstdc++-v3/testsuite/18_support
Jonathan Wakely 1ad08b64ce libstdc++: Fix testcase by using terminate handler
This test was supposed to verify that when __libc_single_threaded is
available we successfully detect recursive static initialization even
when linked to libpthread. But I forgot to that when recursive init is
detected, we terminate, and so the test fails.

This adds a terminate handler that exits cleanly, so the test passes
when recursive init is detected.

libstdc++-v3/ChangeLog:

	* testsuite/18_support/96817.cc: Use terminate handler that
	calls _Exit(0).
2020-10-02 22:18:51 +01:00
..
aligned_alloc
bad_alloc
bad_cast
bad_exception
bad_typeid
byte
comparisons libstdc++: Replace some VERIFY tests with static_assert 2020-08-07 17:45:42 +01:00
exception
exception_ptr
headers
initializer_list
launder
max_align_t/requirements
nested_exception
numeric_limits
quick_exit
type_info
uncaught_exception
uncaught_exceptions
50594.cc
51333.cc
96817.cc libstdc++: Fix testcase by using terminate handler 2020-10-02 22:18:51 +01:00
cxa_vec.cc
destroying_delete.cc libstdc++: Break header cycle between <new> and <exception> 2020-09-02 13:56:32 +01:00
free_eh_pool.cc
new_aligned.cc
new_delete_placement.cc
new_handler.cc
new_nothrow.cc
pthread_guard.cc
set_terminate.cc
set_unexpected.cc
terminate_handler.cc
unexpected_handler.cc