From c600890b0de92fc652bf622e4bbd1372857945dc Mon Sep 17 00:00:00 2001 From: Robert Ramey Date: Sat, 16 Dec 2006 21:09:19 +0000 Subject: [PATCH] backout mistaken checkin [SVN r36432] --- test/test_tools.hpp | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/test/test_tools.hpp b/test/test_tools.hpp index 82ec786c..9262fc89 100644 --- a/test/test_tools.hpp +++ b/test/test_tools.hpp @@ -107,44 +107,7 @@ namespace archive { #define BOOST_ARCHIVE_TEST text_archive.hpp #endif -//#include -#include - -#define BOOST_CHECK( P ) \ - BOOST_TEST( (P) ) -#define BOOST_REQUIRE( P ) \ - BOOST_TEST( (P) ) -#define BOOST_CHECK_MESSAGE( P, M ) \ - ((P)? (void)0 : ::boost::detail::error_impl( (M) , __FILE__, __LINE__, BOOST_CURRENT_FUNCTION)) -#define BOOST_REQUIRE_MESSAGE( P, M ) \ - BOOST_CHECK_MESSAGE( (P), (M) ) -#define BOOST_CHECK_EQUAL( A , B ) \ - BOOST_TEST( (A) == (B) ) - -namespace boost { namespace detail { -inline void msg_impl(char const * msg, char const * file, int line, char const * function) -{ - std::cerr << file << "(" << line << "): " << msg << " in function '" << function << "'" << std::endl; -} -} } // boost::detail - -#define BOOST_WARN_MESSAGE( P, M ) \ - ((P)? (void)0 : ::boost::detail::msg_impl( (M) , __FILE__, __LINE__, BOOST_CURRENT_FUNCTION)) -#define BOOST_MESSAGE( M ) \ - BOOST_WARN_MESSAGE( true , (M) ) - -#define BOOST_TEST_DONT_PRINT_LOG_VALUE( T ) - -#define BOOST_FAIL( M ) BOOST_REQUIRE_MESSAGE( false, (M) ) -#define EXIT_SUCCESS 0 - -int test_main(int argc, char * argv[]); - -int -main(int argc, char * argv[]){ - test_main(argc, argv); - return boost::report_errors(); -} +#include // the following is to ensure that when one of the libraries changes // BJAM rebuilds and relinks the test.