summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-09-21 17:40:40 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-09-21 17:40:40 (GMT)
commite4293b4b389cbe4f15f03ff00e434d98e727e20a (patch)
treee7215a4e82c08ed2265e1a9069a0c8c942db94e4 /Tests
parent43499b1ecb946dbee0c1f93771e2b6ed7adea02f (diff)
downloadCMake-e4293b4b389cbe4f15f03ff00e434d98e727e20a.zip
CMake-e4293b4b389cbe4f15f03ff00e434d98e727e20a.tar.gz
CMake-e4293b4b389cbe4f15f03ff00e434d98e727e20a.tar.bz2
Re-enabled failing tests; fixed ctest_build output to be consistent in the error condition across different make programs so that these tests would pass.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt34
1 files changed, 17 insertions, 17 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 5218ed1..09ec374 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1052,24 +1052,24 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
"${CMake_SOURCE_DIR}/Tests/CTestTestFailure/testNoBuild.cmake.in"
"${CMake_BINARY_DIR}/Tests/CTestTestFailure/testNoBuild.cmake"
@ONLY ESCAPE_QUOTES)
- #ADD_TEST(CTestTestNoBuild ${CMAKE_CTEST_COMMAND}
- # -S "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testNoBuild.cmake" -V
- # --output-log "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testOut1.log"
- # )
- #SET_TESTS_PROPERTIES(CTestTestNoBuild PROPERTIES
- # FAIL_REGULAR_EXPRESSION "Error" WILL_FAIL true)
+ ADD_TEST(CTestTestNoBuild ${CMAKE_CTEST_COMMAND}
+ -S "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testNoBuild.cmake" -V
+ --output-log "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testOut1.log"
+ )
+ SET_TESTS_PROPERTIES(CTestTestNoBuild PROPERTIES
+ FAIL_REGULAR_EXPRESSION "Error" WILL_FAIL true)
- #CONFIGURE_FILE(
- # "${CMake_SOURCE_DIR}/Tests/CTestTestFailure/testNoExe.cmake.in"
-# "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testNoExe.cmake"
-# @ONLY ESCAPE_QUOTES)
-# ADD_TEST(CTestTestNoExe ${CMAKE_CTEST_COMMAND}
-# -S "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testNoExe.cmake" -V
-# --output-log "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testOut2.log"
-# )
-# SET_TESTS_PROPERTIES(CTestTestNoExe PROPERTIES #DEPENDS CTestTestNoBuild
-# PASS_REGULAR_EXPRESSION "Could not find executable"
-# FAIL_REGULAR_EXPRESSION "SegFault")
+ CONFIGURE_FILE(
+ "${CMake_SOURCE_DIR}/Tests/CTestTestFailure/testNoExe.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testNoExe.cmake"
+ @ONLY ESCAPE_QUOTES)
+ ADD_TEST(CTestTestNoExe ${CMAKE_CTEST_COMMAND}
+ -S "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testNoExe.cmake" -V
+ --output-log "${CMake_BINARY_DIR}/Tests/CTestTestFailure/testOut2.log"
+ )
+ SET_TESTS_PROPERTIES(CTestTestNoExe PROPERTIES #DEPENDS CTestTestNoBuild
+ PASS_REGULAR_EXPRESSION "Could not find executable"
+ FAIL_REGULAR_EXPRESSION "SegFault")
CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Tests/CTestTestCrash/test.cmake.in"