Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57866 - trunk/libs/integer/test
From: john_at_[hidden]
Date: 2009-11-23 11:39:46


Author: johnmaddock
Date: 2009-11-23 11:39:45 EST (Mon, 23 Nov 2009)
New Revision: 57866
URL: http://svn.boost.org/trac/boost/changeset/57866

Log:
Fix Jamfile and Boost.Test usage.
Text files modified:
   trunk/libs/integer/test/Jamfile.v2 | 12 ++++++------
   trunk/libs/integer/test/integer_traits_test.cpp | 1 -
   trunk/libs/integer/test/static_log2_test.cpp | 1 -
   3 files changed, 6 insertions(+), 8 deletions(-)

Modified: trunk/libs/integer/test/Jamfile.v2
==============================================================================
--- trunk/libs/integer/test/Jamfile.v2 (original)
+++ trunk/libs/integer/test/Jamfile.v2 2009-11-23 11:39:45 EST (Mon, 23 Nov 2009)
@@ -6,15 +6,15 @@
 
 test-suite integer
     : [ run cstdint_test.cpp ]
- [ run integer_test.cpp
- /boost/test//boost_unit_test_framework ]
+ [ run integer_test.cpp
+ /boost/test//minimal ]
         [ run integer_traits_test.cpp
- /boost/test//boost_test_exec_monitor/<link>static ]
+ /boost/test//boost_test_exec_monitor ]
         [ run integer_mask_test.cpp
- /boost/test//boost_unit_test_framework ]
+ /boost/test//minimal ]
         [ run static_log2_test.cpp
- /boost/test//boost_test_exec_monitor/<link>static ]
+ /boost/test//boost_test_exec_monitor ]
         [ run static_min_max_test.cpp
- /boost/test//boost_test_exec_monitor/<link>static ]
+ /boost/test//boost_test_exec_monitor ]
 # [ compile issue_2134.cpp ]
     ;

Modified: trunk/libs/integer/test/integer_traits_test.cpp
==============================================================================
--- trunk/libs/integer/test/integer_traits_test.cpp (original)
+++ trunk/libs/integer/test/integer_traits_test.cpp 2009-11-23 11:39:45 EST (Mon, 23 Nov 2009)
@@ -17,7 +17,6 @@
 // use int64_t instead of long long for better portability
 #include <boost/cstdint.hpp>
 
-#define BOOST_INCLUDE_MAIN
 #include <boost/test/test_tools.hpp>
 
 /*

Modified: trunk/libs/integer/test/static_log2_test.cpp
==============================================================================
--- trunk/libs/integer/test/static_log2_test.cpp (original)
+++ trunk/libs/integer/test/static_log2_test.cpp 2009-11-23 11:39:45 EST (Mon, 23 Nov 2009)
@@ -10,7 +10,6 @@
 // Revision History
 // 01 Oct 2001 Initial version (Daryle Walker)
 
-#define BOOST_INCLUDE_MAIN
 #include <boost/test/test_tools.hpp> // for main
 
 #include <boost/cstdlib.hpp> // for boost::exit_success


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