diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2009-12-17 17:51:40 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2009-12-17 17:51:40 (GMT) |
commit | 5c2a5e06fdebc7772ba6b98e075e055f0c18926d (patch) | |
tree | a1230d195897c354e7dccff91de493d2d1453b2d | |
parent | 1842d2eae0468b3b1ad0b85ede2dc0dd28885a20 (diff) | |
download | CMake-5c2a5e06fdebc7772ba6b98e075e055f0c18926d.zip CMake-5c2a5e06fdebc7772ba6b98e075e055f0c18926d.tar.gz CMake-5c2a5e06fdebc7772ba6b98e075e055f0c18926d.tar.bz2 |
Workaround for CTestTestBadExe on Cygwin
-rw-r--r-- | Tests/CMakeLists.txt | 8 |
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" |