mirror of
https://github.com/boostorg/exception.git
synced 2025-07-12 20:16:34 +02:00
Compare commits
1 Commits
boost-1.65
...
boost-1.69
Author | SHA1 | Date | |
---|---|---|---|
c87b9c55b1 |
@ -7,7 +7,7 @@
|
||||
#include <boost/exception/exception.hpp>
|
||||
#include <boost/exception/info.hpp>
|
||||
#include <boost/exception/get_error_info.hpp>
|
||||
#include <boost/detail/lightweight_test.hpp>
|
||||
#include <boost/core/lightweight_test.hpp>
|
||||
#include <string>
|
||||
#include <string.h>
|
||||
|
||||
@ -25,5 +25,5 @@ main()
|
||||
{
|
||||
BOOST_TEST(boost::get_error_info<error_info_string>(e) && !strcmp(boost::get_error_info<error_info_string>(e)->c_str(),"doh"));
|
||||
}
|
||||
return 0;
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user