Apparently, on FarAway the presence of errors during ctest_build does not cause the calling ctest to return an error condition.

This commit is contained in:
Zach Mullen 2009-09-18 14:02:14 -04:00
parent a35f11b13e
commit 3c32c904b3
1 changed files with 2 additions and 1 deletions

View File

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