Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62149 - trunk/libs/system/test
From: bdawes_at_[hidden]
Date: 2010-05-22 12:10:51


Author: bemandawes
Date: 2010-05-22 12:10:49 EDT (Sat, 22 May 2010)
New Revision: 62149
URL: http://svn.boost.org/trac/boost/changeset/62149

Log:
fix lightweight test boo boo (Thanks to Peter Dimov)
Text files modified:
   trunk/libs/system/test/error_code_user_test.cpp | 2 +-
   trunk/libs/system/test/header_only_test.cpp | 2 +-
   trunk/libs/system/test/system_error_test.cpp | 2 +-
   3 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/system/test/error_code_user_test.cpp
==============================================================================
--- trunk/libs/system/test/error_code_user_test.cpp (original)
+++ trunk/libs/system/test/error_code_user_test.cpp 2010-05-22 12:10:49 EDT (Sat, 22 May 2010)
@@ -398,5 +398,5 @@
 
   //test3::run();
 
- return 0;
+ return ::boost::report_errors();
 }

Modified: trunk/libs/system/test/header_only_test.cpp
==============================================================================
--- trunk/libs/system/test/header_only_test.cpp (original)
+++ trunk/libs/system/test/header_only_test.cpp 2010-05-22 12:10:49 EDT (Sat, 22 May 2010)
@@ -19,5 +19,5 @@
 int main( int, char*[] )
 {
   boost::system::error_code ec( 0, boost::system::system_category );
- return 0;
+ return ::boost::report_errors();
 }

Modified: trunk/libs/system/test/system_error_test.cpp
==============================================================================
--- trunk/libs/system/test/system_error_test.cpp (original)
+++ trunk/libs/system/test/system_error_test.cpp 2010-05-22 12:10:49 EDT (Sat, 22 May 2010)
@@ -103,7 +103,7 @@
   TEST( c6_0, 0, "c6_0: The operation completed successfully" );
   TEST( c6_1, 1, "c6_1: Incorrect function" );
 
- return 0;
+ return ::boost::report_errors();
 }
 
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk