diff --git a/test/error_code_user_test.cpp b/test/error_code_user_test.cpp index be1a43e..a8e418b 100644 --- a/test/error_code_user_test.cpp +++ b/test/error_code_user_test.cpp @@ -398,5 +398,5 @@ int main( int, char *[] ) //test3::run(); - return 0; + return ::boost::report_errors(); } diff --git a/test/header_only_test.cpp b/test/header_only_test.cpp index 7c74793..12f22c0 100644 --- a/test/header_only_test.cpp +++ b/test/header_only_test.cpp @@ -19,5 +19,5 @@ int main( int, char*[] ) { boost::system::error_code ec( 0, boost::system::system_category ); - return 0; + return ::boost::report_errors(); } diff --git a/test/system_error_test.cpp b/test/system_error_test.cpp index 67c27a1..47f3c2e 100644 --- a/test/system_error_test.cpp +++ b/test/system_error_test.cpp @@ -103,7 +103,7 @@ int main( int, char *[] ) TEST( c6_0, 0, "c6_0: The operation completed successfully" ); TEST( c6_1, 1, "c6_1: Incorrect function" ); - return 0; + return ::boost::report_errors(); }