summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-12-07 15:15:34 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-12-07 15:15:34 (GMT)
commit25d73992726ec6340a367dd53e79ea3c83305164 (patch)
treeae48297457a44567e1a4795fc5d6b67097ea4a58 /Tests
parenta8ab3005ae1b514ccddd93d5990375c9ac465221 (diff)
downloadCMake-25d73992726ec6340a367dd53e79ea3c83305164.zip
CMake-25d73992726ec6340a367dd53e79ea3c83305164.tar.gz
CMake-25d73992726ec6340a367dd53e79ea3c83305164.tar.bz2
Remove WILL_FAIL property from BadExe test, since CTest was returning 0. Replaced with a pass regex.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index c465aa8..f47dccb 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1263,7 +1263,8 @@ ${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 WILL_FAIL TRUE)
+ SET_TESTS_PROPERTIES(CTestTestBadExe PROPERTIES
+ PASS_REGULAR_EXPRESSION "BAD_COMMAND")
CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Tests/CTestTestParallel/test.cmake.in"