mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
avoid assert in cpp tests in debug mode
This commit is contained in:
parent
fb0ef869d6
commit
074c28c4bc
@ -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…
x
Reference in New Issue
Block a user