From 6e8039cb2db93f6c440594c7972589258d39b408 Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Sat, 22 May 2010 16:10:49 +0000 Subject: [PATCH] fix lightweight test boo boo (Thanks to Peter Dimov) [SVN r62149] --- test/error_code_user_test.cpp | 2 +- test/header_only_test.cpp | 2 +- test/system_error_test.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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(); }