avoid assert in cpp tests in debug mode
This commit is contained in:
parent
fb0ef869d6
commit
074c28c4bc
2 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue