summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-18 18:02:14 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-18 18:02:14 (GMT)
commit3c32c904b33b3c16e2d050c10b217d6b7e327024 (patch)
treeb24114f4a25e125547336873df4401399ddfb099
parenta35f11b13e7bf8c50f0bd00b1c251452d8cd6350 (diff)
downloadCMake-3c32c904b33b3c16e2d050c10b217d6b7e327024.zip
CMake-3c32c904b33b3c16e2d050c10b217d6b7e327024.tar.gz
CMake-3c32c904b33b3c16e2d050c10b217d6b7e327024.tar.bz2
Apparently, on FarAway the presence of errors during ctest_build does not cause the calling ctest to return an error condition.
-rw-r--r--Tests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 7256d6a..83a9dfc 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1056,7 +1056,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
-S "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testNoBuild.cmake" -V
--output-log "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testOut1.log"
)
- SET_TESTS_PROPERTIES(CTestTestNoBuild PROPERTIES WILL_FAIL TRUE)
+ SET_TESTS_PROPERTIES(CTestTestNoBuild PROPERTIES
+ FAIL_REGULAR_EXPRESSION "Error" WILL_FAIL true)
CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Tests/CTestTestFailure/testNoExe.cmake.in"