summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-12-17 17:51:40 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-12-17 17:51:40 (GMT)
commit5c2a5e06fdebc7772ba6b98e075e055f0c18926d (patch)
treea1230d195897c354e7dccff91de493d2d1453b2d
parent1842d2eae0468b3b1ad0b85ede2dc0dd28885a20 (diff)
downloadCMake-5c2a5e06fdebc7772ba6b98e075e055f0c18926d.zip
CMake-5c2a5e06fdebc7772ba6b98e075e055f0c18926d.tar.gz
CMake-5c2a5e06fdebc7772ba6b98e075e055f0c18926d.tar.bz2
Workaround for CTestTestBadExe on Cygwin
-rw-r--r--Tests/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 4f53a69..e64e6b5 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1263,8 +1263,12 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
-S "${CMake_BINARY_DIR}/Tests/CTestTestBadExe/test.cmake" -V
--output-log "${CMake_BINARY_DIR}/Tests/CTestTestBadExe/testOutput.log"
)
- SET_TESTS_PROPERTIES(CTestTestBadExe PROPERTIES
- PASS_REGULAR_EXPRESSION "BAD_COMMAND")
+ IF(CYGWIN)
+ SET_TESTS_PROPERTIES(CTestTestBadExe PROPERTIES WILL_FAIL ON)
+ ELSE(CYGWIN)
+ SET_TESTS_PROPERTIES(CTestTestBadExe PROPERTIES
+ PASS_REGULAR_EXPRESSION "BAD_COMMAND")
+ ENDIF(CYGWIN)
CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Tests/CTestTestParallel/test.cmake.in"