diff options
-rw-r--r-- | Tests/CMakeLists.txt | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index f7d3c18..8f29641 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -131,6 +131,9 @@ IF(BUILD_TESTING) ADD_TEST_MACRO(TarTest TarTest) ADD_TEST_MACRO(SystemInformation SystemInformation) ADD_TEST_MACRO(MathTest MathTest) + IF(MSVC) + ADD_TEST_MACRO(VSResource VSResource) + ENDIF() ADD_TEST_MACRO(Simple Simple) ADD_TEST_MACRO(PreOrder PreOrder) ADD_TEST_MACRO(MissingSourceFile MissingSourceFile) @@ -261,17 +264,6 @@ IF(BUILD_TESTING) ENDIF ("${cmakeOutput}" MATCHES KDevelop3) ENDIF(${CMAKE_TEST_GENERATOR} MATCHES "Unix Makefiles" OR ${CMAKE_TEST_GENERATOR} MATCHES "KDevelop") - ADD_TEST(VSResource ${CMAKE_CTEST_COMMAND} - --build-and-test - "${CMake_SOURCE_DIR}/Tests/VSResource" - "${CMake_BINARY_DIR}/Tests/VSResource" - --build-two-config - --build-generator ${CMAKE_TEST_GENERATOR} - --build-project VSResource - --build-makeprogram ${CMAKE_TEST_MAKEPROGRAM} - --test-command VSResource) - LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/VSResource") - # test for correct sub-project generation # not implemented in VS6 or Xcode |