diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-12-22 21:14:37 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-12-22 21:14:37 (GMT) |
commit | 8c7b19d35ee81afac57fe623217578191f4d034c (patch) | |
tree | 4b05fc245b08420bfd15869aa39041af2b2ac6a1 | |
parent | 753e2082851b67163dda4764e08c8ce9b84690fe (diff) | |
download | CMake-8c7b19d35ee81afac57fe623217578191f4d034c.zip CMake-8c7b19d35ee81afac57fe623217578191f4d034c.tar.gz CMake-8c7b19d35ee81afac57fe623217578191f4d034c.tar.bz2 |
Only run resource test for MSVC compilers.
-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 |