mirror of
https://github.com/boostorg/unordered.git
synced 2025-08-02 12:54:29 +02:00
Write out epoint that threw an exception after failure
This commit is contained in:
@@ -254,7 +254,12 @@ template <class Test> void exception_safety(Test const& f, char const* /*name*/)
|
|||||||
} catch (test_failure) {
|
} catch (test_failure) {
|
||||||
error_msg = "test_failure caught.";
|
error_msg = "test_failure caught.";
|
||||||
break;
|
break;
|
||||||
} catch (test_exception) {
|
} catch (test_exception e) {
|
||||||
|
if (error_count != boost::detail::test_errors()) {
|
||||||
|
BOOST_LIGHTWEIGHT_TEST_OSTREAM
|
||||||
|
<< "Iteration: " << iteration
|
||||||
|
<< " Error found for epoint: " << e.name << std::endl;
|
||||||
|
}
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
error_msg = "Unexpected exception.";
|
error_msg = "Unexpected exception.";
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user