boostTest: Print diagnostic information for std::exception too

This commit is contained in:
Kamil Śliwak 2021-06-25 13:25:10 +02:00
parent 030fb1d9a2
commit 82b720029d

View File

@ -83,6 +83,10 @@ void runTestCase(TestCase::Config const& _config, TestCase::TestCaseCreator cons
{
BOOST_ERROR("Exception during extracted test: " << boost::diagnostic_information(_e));
}
catch (std::exception const& _e)
{
BOOST_ERROR("Exception during extracted test: " << boost::diagnostic_information(_e));
}
}
int registerTests(