diff options
Diffstat (limited to 'libs/thread/test/test_condition_notify_all.cpp')
-rw-r--r-- | libs/thread/test/test_condition_notify_all.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/libs/thread/test/test_condition_notify_all.cpp b/libs/thread/test/test_condition_notify_all.cpp index 944f94554..017ff28d1 100644 --- a/libs/thread/test/test_condition_notify_all.cpp +++ b/libs/thread/test/test_condition_notify_all.cpp @@ -4,7 +4,7 @@ // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #define BOOST_THREAD_VERSION 2 - +#define BOOST_TEST_MODULE Boost.Threads: condition_variable notify_all test suite #include <boost/thread/detail/config.hpp> #include <boost/thread/thread_only.hpp> @@ -202,7 +202,7 @@ void do_test_notify_all_following_notify_one_wakes_all_threads() thread3.join(); } -void test_condition_notify_all() +BOOST_AUTO_TEST_CASE(test_condition_notify_all) { timed_test(&do_test_condition_notify_all_wakes_from_wait, timeout_seconds); timed_test(&do_test_condition_notify_all_wakes_from_wait_with_predicate, timeout_seconds); @@ -213,14 +213,4 @@ void test_condition_notify_all() } -boost::unit_test::test_suite* init_unit_test_suite(int, char*[]) -{ - boost::unit_test::test_suite* test = - BOOST_TEST_SUITE("Boost.Threads: condition test suite"); - - test->add(BOOST_TEST_CASE(&test_condition_notify_all)); - - return test; -} - |