Workaround for CTestTestBadExe on Cygwin

This commit is contained in:
Zach Mullen 2009-12-17 12:51:40 -05:00
parent 1842d2eae0
commit 5c2a5e06fd
1 changed files with 6 additions and 2 deletions

View File

@ -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"