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).


[SVN r37057]
This commit is contained in:
Dave Abrahams
2007-02-24 22:40:59 +00:00
parent c0d6dacf62
commit 0b095e687f
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();
}