From dcf556ef0d412bf0dc017382c49a1d6ff867dcc0 Mon Sep 17 00:00:00 2001 From: Michael Tryby Date: Fri, 31 Aug 2018 08:24:23 -0400 Subject: [PATCH] Cleaning up unit test build and test header --- tests/CMakeLists.txt | 2 -- tests/test_reent.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 8b93c76..add4e31 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -26,7 +26,6 @@ endif(UNIX) if(MSVC) set(Boost_DEBUG OFF) set(Boost_DETAILED_FAILURE_MSG OFF) - set(Boost_THREADAPI win32) set(Boost_USE_STATIC_LIBS ON) endif(MSVC) set(Boost_THREAD_FOUND OFF) @@ -42,7 +41,6 @@ file(GLOB TEST_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} test_*.cpp) MESSAGE( STATUS "Thread found: " ${Boost_THREAD_FOUND}) if(NOT ${Boost_THREAD_FOUND}) list(REMOVE_ITEM TEST_SRCS test_reent.cpp) - MESSAGE("${TEST_SRCS}") endif() diff --git a/tests/test_reent.cpp b/tests/test_reent.cpp index 1117284..4ac1d3c 100644 --- a/tests/test_reent.cpp +++ b/tests/test_reent.cpp @@ -5,7 +5,7 @@ * Author: Michael E. Tryby * US EPA - ORD/NRMRL * - * Unit testing for EPANET Output API. + * Multi-threading / reentrancy test for EPANET Toolkit API. */ #include