From 25d73992726ec6340a367dd53e79ea3c83305164 Mon Sep 17 00:00:00 2001 From: Zach Mullen Date: Mon, 7 Dec 2009 10:15:34 -0500 Subject: Remove WILL_FAIL property from BadExe test, since CTest was returning 0. Replaced with a pass regex. --- Tests/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v0.12