Fix unit tests that did not return report_errors()

This commit is contained in:
Glen Fernandes
2018-09-17 07:32:49 -04:00
parent dcd2d83b34
commit c87b9c55b1
2 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
#include <boost/throw_exception.hpp>
#include <boost/exception/info.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include <boost/detail/lightweight_test.hpp>
#include <boost/core/lightweight_test.hpp>
#include <stdlib.h>
struct
@ -39,7 +39,7 @@ boost
#ifndef BOOST_NO_RTTI
BOOST_TEST(s.find("my_tag")!=std::string::npos);
#endif
exit(0);
exit(boost::report_errors());
}
}