Workaround for CTestTestBadExe on Cygwin
This commit is contained in:
parent
1842d2eae0
commit
5c2a5e06fd
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue