Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-15 10:09:21

0001 //  (C) Copyright Gennadiy Rozental 2001.
0002 //  Distributed under the Boost Software License, Version 1.0.
0003 //  (See accompanying file LICENSE_1_0.txt or copy at
0004 //  http://www.boost.org/LICENSE_1_0.txt)
0005 
0006 //  See http://www.boost.org/libs/test for the library home page.
0007 //
0008 /// @file
0009 /// @brief Deprecated implementation of Test Execution Monitor
0010 ///
0011 /// To convert to Unit Test Framework simply rewrite:
0012 /// @code
0013 /// #include <boost/test/test_exec_monitor.hpp>
0014 ///
0015 /// int test_main( int, char *[] )
0016 /// {
0017 ///   ...
0018 /// }
0019 /// @endcode
0020 /// as
0021 /// @code
0022 /// #include <boost/test/unit_test.hpp>
0023 ///
0024 /// BOOST_AUTO_TEST_CASE(test_main)
0025 /// {
0026 ///   ...
0027 /// }
0028 /// @endcode
0029 /// and link with boost_unit_test_framework library *instead of* boost_test_exec_monitor
0030 // ***************************************************************************
0031 
0032 #ifndef BOOST_TEST_EXEC_MONITOR_HPP_071894GER
0033 #define BOOST_TEST_EXEC_MONITOR_HPP_071894GER
0034 
0035 // Boost.Test
0036 #include <boost/test/test_tools.hpp>
0037 
0038 //____________________________________________________________________________//
0039 
0040 // ************************************************************************** //
0041 // **************                 Auto Linking                 ************** //
0042 // ************************************************************************** //
0043 
0044 // Automatically link to the correct build variant where possible.
0045 #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_TEST_NO_LIB) && \
0046     !defined(BOOST_TEST_EXEC_MONITOR_NO_LIB) && \
0047     !defined(BOOST_TEST_SOURCE) && !defined(BOOST_TEST_INCLUDED)
0048 
0049 #  define BOOST_LIB_NAME boost_test_exec_monitor
0050 #  include <boost/config/auto_link.hpp>
0051 
0052 #endif  // auto-linking disabled
0053 
0054 #endif // BOOST_TEST_EXEC_MONITOR_HPP_071894GER