Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51960 - trunk/libs/system/test
From: bdawes_at_[hidden]
Date: 2009-03-24 11:38:11


Author: bemandawes
Date: 2009-03-24 11:38:10 EDT (Tue, 24 Mar 2009)
New Revision: 51960
URL: http://svn.boost.org/trac/boost/changeset/51960

Log:
System: removed dependency on Boost.Test
Text files modified:
   trunk/libs/system/test/error_code_test.cpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/system/test/error_code_test.cpp
==============================================================================
--- trunk/libs/system/test/error_code_test.cpp (original)
+++ trunk/libs/system/test/error_code_test.cpp 2009-03-24 11:38:10 EDT (Tue, 24 Mar 2009)
@@ -11,7 +11,7 @@
 
 #include <boost/config/warning_disable.hpp>
 
-#include <boost/test/minimal.hpp>
+#include <boost/detail/test_framework.hpp>
 #include <boost/system/error_code.hpp>
 #include <boost/system/cygwin_error.hpp>
 #include <boost/system/linux_error.hpp>
@@ -49,11 +49,11 @@
   }
 }
 
-// test_main ---------------------------------------------------------------//
+// main ------------------------------------------------------------------------------//
 
 // TODO: add hash_value tests
 
-int test_main( int, char ** )
+int main( int, char ** )
 {
 
   std::cout << "General tests...\n";
@@ -259,7 +259,7 @@
 
 #endif
   
- return 0;
+ return boost::test_framework::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