summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2011-06-01 04:15:34 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2011-06-01 04:15:34 (GMT)
commit900bf98d0103567aa51f0d1d2fc0f5d5eb67c124 (patch)
treeacdcaea453626c7ee4dda35d32903daa7849faf9 /Tests
parentfa4dc08a1a69d0766cb17b03f1e3154e2dd0c0e7 (diff)
downloadCMake-900bf98d0103567aa51f0d1d2fc0f5d5eb67c124.zip
CMake-900bf98d0103567aa51f0d1d2fc0f5d5eb67c124.tar.gz
CMake-900bf98d0103567aa51f0d1d2fc0f5d5eb67c124.tar.bz2
BundleUtilities: Disable running test on Windows unless using MSVC.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 75ee7d9..d840b96 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -194,8 +194,8 @@ IF(BUILD_TESTING)
LIST(APPEND TEST_BUILD_DIRS ${CMake_TEST_INSTALL_PREFIX})
- # run test for BundleUtilities on supported platforms
- if(CMAKE_SYSTEM_NAME MATCHES "Windows" OR
+ # run test for BundleUtilities on supported platforms/compilers
+ if(MSVC OR
CMAKE_SYSTEM_NAME MATCHES "Linux" OR
CMAKE_SYSTEM_NAME MATCHES "Darwin")
ADD_TEST(BundleUtilities ${CMAKE_CTEST_COMMAND}
@@ -207,7 +207,7 @@ IF(BUILD_TESTING)
--build-project BundleUtilities
)
LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BundleUtilities")
- endif(CMAKE_SYSTEM_NAME MATCHES "Windows" OR
+ endif(MSVC OR
CMAKE_SYSTEM_NAME MATCHES "Linux" OR
CMAKE_SYSTEM_NAME MATCHES "Darwin")