Sfoglia il codice sorgente

Remove WILL_FAIL property from BadExe test, since CTest was returning 0. Replaced with a pass regex.

Zach Mullen 16 anni fa
parent
commit
25d7399272
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      Tests/CMakeLists.txt

+ 2 - 1
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"