avoid assert in cpp tests in debug mode

This commit is contained in:
Dane Springmeyer 2012-05-15 11:45:55 -07:00
parent fb0ef869d6
commit 074c28c4bc
2 changed files with 2 additions and 0 deletions

View file

@ -72,6 +72,7 @@ int main( int, char*[] )
if (!::boost::detail::test_errors()) {
std::clog << "C++ fonts registration: \x1b[1;32m✓ \x1b[0m\n";
::boost::detail::report_errors_remind().called_report_errors_function = true;
} else {
return ::boost::report_errors();
}

View file

@ -71,6 +71,7 @@ int main( int, char*[] )
if (!::boost::detail::test_errors()) {
std::clog << "C++ parameters: \x1b[1;32m✓ \x1b[0m\n";
::boost::detail::report_errors_remind().called_report_errors_function = true;
} else {
return ::boost::report_errors();
}