Correct testing bugs:

either changing assert(...) or BOOST_ASSERT(...) to BOOST_TEST
    (in my code only)

    or adding "return boost::report_errors();" where it was clearly
    missing (and a pure bug, in anyone's code).

    or changing BOOST_TEST to BOOST_CHECK where the integer library
    was clearly using Boost.Test and not returning report_errors().


[SVN r37063]
This commit is contained in:
Dave Abrahams
2007-02-25 15:28:02 +00:00
parent 93c010eb51
commit aa483f4961
5 changed files with 39 additions and 42 deletions

View File

@ -170,6 +170,5 @@ int main()
#endif
}
std::cout << "test successful " << std::endl;
return boost::exit_success;
return boost::report_errors();
}