diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -48,7 +48,7 @@ reverselock_tests.cpp rpc_tests.cpp sanity_tests.cpp - # scheduler_tests.cpp + scheduler_tests.cpp script_antireplay_tests.cpp script_P2SH_tests.cpp # script_tests.cpp diff --git a/src/test/scheduler_tests.cpp b/src/test/scheduler_tests.cpp --- a/src/test/scheduler_tests.cpp +++ b/src/test/scheduler_tests.cpp @@ -33,14 +33,7 @@ } static void MicroSleep(uint64_t n) { -#if defined(HAVE_WORKING_BOOST_SLEEP_FOR) boost::this_thread::sleep_for(boost::chrono::microseconds(n)); -#elif defined(HAVE_WORKING_BOOST_SLEEP) - boost::this_thread::sleep(boost::posix_time::microseconds(n)); -#else -// should never get here -#error missing boost sleep implementation -#endif } BOOST_AUTO_TEST_CASE(manythreads) {