more exception defines
This commit is contained in:
@@ -44,10 +44,13 @@ void report_failure(char const* err, char const* file, int line)
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
try
|
||||
{
|
||||
#endif
|
||||
test_main();
|
||||
return tests_failure ? 1 : 0;
|
||||
#ifndef BOOST_NO_EXCEPTIONS
|
||||
}
|
||||
catch (std::exception const& e)
|
||||
{
|
||||
@@ -59,5 +62,6 @@ int main()
|
||||
std::cerr << "Terminated with unknown exception\n";
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user