[Cmake-commits] [cmake-commits] zach.mullen committed CMakeLists.txt 1.161 1.162
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Dec 7 09:34:07 EST 2009
Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv28505
Modified Files:
CMakeLists.txt
Log Message:
Added a unit test for running a test command which exists but is not an executable, because it previously caused the outer ctest process to fail.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.161
retrieving revision 1.162
diff -C 2 -d -r1.161 -r1.162
*** CMakeLists.txt 4 Dec 2009 17:08:57 -0000 1.161
--- CMakeLists.txt 7 Dec 2009 14:34:03 -0000 1.162
***************
*** 1257,1260 ****
--- 1257,1270 ----
CONFIGURE_FILE(
+ "${CMake_SOURCE_DIR}/Tests/CTestTestBadExe/test.cmake.in"
+ "${CMake_BINARY_DIR}/Tests/CTestTestBadExe/test.cmake"
+ @ONLY ESCAPE_QUOTES)
+ ADD_TEST(CTestTestBadExe ${CMAKE_CTEST_COMMAND}
+ -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)
+
+ CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Tests/CTestTestParallel/test.cmake.in"
"${CMake_BINARY_DIR}/Tests/CTestTestParallel/test.cmake"
More information about the Cmake-commits
mailing list