From 728e71116c0db468315c35a2610b9637fbd4198f Mon Sep 17 00:00:00 2001 From: martin-osborne Date: Mon, 27 Oct 2014 09:36:08 +0000 Subject: [PATCH] Updated CMakeLists files so test suites will build with wdexpress2012. Possibly requiring update are: Data/MySQL/testsuite/CMakeLists.txt NetSSL_OpenSSL/testsuite/CMakeLists.txt --- CMakeLists.txt | 1 + CppUnit/CMakeLists.txt | 4 +++- Data/ODBC/testsuite/CMakeLists.txt | 18 ++++++++++++----- Data/SQLite/testsuite/CMakeLists.txt | 20 +++++++++++++------ Data/testsuite/CMakeLists.txt | 20 +++++++++++++------ Foundation/testsuite/CMakeLists.txt | 17 ++++++++++------ JSON/testsuite/CMakeLists.txt | 18 ++++++++++++----- MongoDB/testsuite/CMakeLists.txt | 20 +++++++++++++------ Net/testsuite/CMakeLists.txt | 18 ++++++++++++----- PDF/testsuite/CMakeLists.txt | 18 ++++++++++++----- Util/testsuite/CMakeLists.txt | 30 ++++++++++++++++++++-------- XML/testsuite/CMakeLists.txt | 18 ++++++++++++----- Zip/testsuite/CMakeLists.txt | 18 ++++++++++++----- 13 files changed, 157 insertions(+), 63 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d92438f68..b7af45041 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,7 @@ option(ENABLE_DATA "Enable Data" ON) option(ENABLE_SEVENZIP "Enable SevenZip" ON) option(ENABLE_ZIP "Enable Zip" ON) option(ENABLE_APACHECONNECTOR "Enable ApacheConnector" ON) +option(ENABLE_WINTESTRUNNER "Enable GUI test runner for WIN32 platforms" ON) option(ENABLE_TESTS "Set to OFF|ON (default is OFF) to control build of POCO tests & samples" OFF) diff --git a/CppUnit/CMakeLists.txt b/CppUnit/CMakeLists.txt index 9fbec4b0b..826e98245 100644 --- a/CppUnit/CMakeLists.txt +++ b/CppUnit/CMakeLists.txt @@ -16,5 +16,7 @@ set_target_properties( ${LIBNAME} target_link_libraries( ${LIBNAME} ) if(WIN32) - add_subdirectory(WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_subdirectory(WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/Data/ODBC/testsuite/CMakeLists.txt b/Data/ODBC/testsuite/CMakeLists.txt index c5abab781..ec38b30b5 100644 --- a/Data/ODBC/testsuite/CMakeLists.txt +++ b/Data/ODBC/testsuite/CMakeLists.txt @@ -2,21 +2,29 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoDataODBC PocoData PocoFoundation CppUnit ) if( WIN32) - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/Data/SQLite/testsuite/CMakeLists.txt b/Data/SQLite/testsuite/CMakeLists.txt index dc330a978..712848e8b 100644 --- a/Data/SQLite/testsuite/CMakeLists.txt +++ b/Data/SQLite/testsuite/CMakeLists.txt @@ -2,22 +2,30 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoDataSQLite PocoData PocoFoundation CppUnit ) if( WIN32) - #TODO: Is this flag always required? - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + #TODO: Is this flag always required? + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/Data/testsuite/CMakeLists.txt b/Data/testsuite/CMakeLists.txt index e61d85b9a..c2af0402e 100644 --- a/Data/testsuite/CMakeLists.txt +++ b/Data/testsuite/CMakeLists.txt @@ -2,15 +2,21 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) #TODO: Why is this file there? It doesn't compile if it is include in the sources POCO_SOURCES_AUTO_PLAT( TEST_SRCS OFF @@ -21,7 +27,9 @@ add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoData PocoUtil PocoXML PocoFoundation CppUnit) if( WIN32) - #TODO: Is this flag always required? - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + #TODO: Is this flag always required? + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/Foundation/testsuite/CMakeLists.txt b/Foundation/testsuite/CMakeLists.txt index 7c00313ed..ad9f966f5 100644 --- a/Foundation/testsuite/CMakeLists.txt +++ b/Foundation/testsuite/CMakeLists.txt @@ -2,11 +2,12 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") -file(GLOB SRCS_G_REMOVE +file(GLOB SRCS_G_REMOVE src/TestApp.cpp src/TestApp_WINCE.cpp src/TestLibrary.cpp src/TestPlugin.cpp + src/WinDriver.cpp ) list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) @@ -15,9 +16,11 @@ POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) POCO_SOURCES_PLAT( TEST_SRCS FoundationTest WINCE src/WinCEDriver.cpp @@ -29,8 +32,10 @@ set_tests_properties(${LIBNAME} PROPERTIES ENVIRONMENT "LD_LIBRARY_PATH=.") # Th #set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} ) target_link_libraries( ${TESTUNIT} PocoFoundation CppUnit ) if( WIN32) - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) else() target_link_libraries( ${TESTUNIT} pthread) endif(WIN32) diff --git a/JSON/testsuite/CMakeLists.txt b/JSON/testsuite/CMakeLists.txt index 65fa85d5b..24fc64d9b 100644 --- a/JSON/testsuite/CMakeLists.txt +++ b/JSON/testsuite/CMakeLists.txt @@ -2,22 +2,30 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoJSON PocoFoundation CppUnit ) if( WIN32) - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) # The test is run in the build directory. So the test data is copied there too diff --git a/MongoDB/testsuite/CMakeLists.txt b/MongoDB/testsuite/CMakeLists.txt index 6a0c9ce23..235575f09 100644 --- a/MongoDB/testsuite/CMakeLists.txt +++ b/MongoDB/testsuite/CMakeLists.txt @@ -2,15 +2,21 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) set(TESTUNIT "${LIBNAME}-testrunner") @@ -18,7 +24,9 @@ add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoMongoDB PocoFoundation CppUnit ) if( WIN32) - #TODO: Is this flag always required? - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + #TODO: Is this flag always required? + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/Net/testsuite/CMakeLists.txt b/Net/testsuite/CMakeLists.txt index 4eb688052..1eb6e618b 100644 --- a/Net/testsuite/CMakeLists.txt +++ b/Net/testsuite/CMakeLists.txt @@ -2,20 +2,28 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoNet PocoUtil PocoXML PocoFoundation CppUnit) if( WIN32) - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/PDF/testsuite/CMakeLists.txt b/PDF/testsuite/CMakeLists.txt index f4046d781..2e51188f7 100644 --- a/PDF/testsuite/CMakeLists.txt +++ b/PDF/testsuite/CMakeLists.txt @@ -2,21 +2,29 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoPDF PocoFoundation CppUnit ) if( WIN32) - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/Util/testsuite/CMakeLists.txt b/Util/testsuite/CMakeLists.txt index 30e30225b..44e0e23ce 100644 --- a/Util/testsuite/CMakeLists.txt +++ b/Util/testsuite/CMakeLists.txt @@ -2,18 +2,30 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp - src/WinConfigurationTest.cpp - src/WinRegistryTest.cpp - src/WindowsTestSuite.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + src/WinConfigurationTest.cpp + src/WinRegistryTest.cpp + src/WindowsTestSuite.cpp + ) +else(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinConfigurationTest.cpp + src/WinRegistryTest.cpp + src/WindowsTestSuite.cpp + ) +endif(ENABLE_WINTESTRUNNER) POCO_SOURCES_AUTO_PLAT( TEST_SRCS WINCE src/WinCEDriver.cpp @@ -23,6 +35,8 @@ add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoUtil PocoJSON PocoXML PocoFoundation CppUnit) if( WIN32) - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/XML/testsuite/CMakeLists.txt b/XML/testsuite/CMakeLists.txt index d7983d223..301b38137 100644 --- a/XML/testsuite/CMakeLists.txt +++ b/XML/testsuite/CMakeLists.txt @@ -2,15 +2,21 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) POCO_SOURCES_AUTO_PLAT( TEST_SRCS WINCE src/WinCEDriver.cpp @@ -20,7 +26,9 @@ add_executable( ${TESTUNIT} ${TEST_SRCS} ) add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND ${TESTUNIT} -all) target_link_libraries( ${TESTUNIT} PocoXML PocoFoundation CppUnit) if( WIN32) - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) diff --git a/Zip/testsuite/CMakeLists.txt b/Zip/testsuite/CMakeLists.txt index af1547ec9..7ab973a25 100644 --- a/Zip/testsuite/CMakeLists.txt +++ b/Zip/testsuite/CMakeLists.txt @@ -2,15 +2,21 @@ set(TESTUNIT "${LIBNAME}-testrunner") # Sources file(GLOB SRCS_G "src/*.cpp") +file(GLOB SRCS_G_REMOVE + src/WinDriver.cpp +) +list(REMOVE_ITEM SRCS_G ${SRCS_G_REMOVE}) POCO_SOURCES_AUTO( TEST_SRCS ${SRCS_G}) # Headers file(GLOB_RECURSE HDRS_G "src/*.h" ) POCO_HEADERS_AUTO( TEST_SRCS ${HDRS_G}) -POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 - src/WinDriver.cpp -) +if(ENABLE_WINTESTRUNNER) + POCO_SOURCES_AUTO_PLAT( TEST_SRCS WIN32 + src/WinDriver.cpp + ) +endif(ENABLE_WINTESTRUNNER) POCO_SOURCES_AUTO_PLAT( TEST_SRCS WINCE src/WinCEDriver.cpp @@ -21,8 +27,10 @@ add_test(NAME ${LIBNAME} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMAND $ #set_target_properties( ${TESTUNIT} PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS} ) target_link_libraries( ${TESTUNIT} PocoZip PocoNet PocoFoundation CppUnit ) if( WIN32) - add_definitions("-D_AFXDLL") - target_link_libraries( ${TESTUNIT} WinTestRunner) + if(ENABLE_WINTESTRUNNER) + add_definitions("-D_AFXDLL") + target_link_libraries( ${TESTUNIT} WinTestRunner) + endif(ENABLE_WINTESTRUNNER) endif(WIN32) # The test is run in the build directory. So the test data is copied there too