Commit 815ec522 authored by Bill Hoffman's avatar Bill Hoffman

SEGFAULT does not work on watcom with ctest, so don't expect it to...

parent 5a2f2485
...@@ -1071,8 +1071,14 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel ...@@ -1071,8 +1071,14 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
-S "${CMake_BINARY_DIR}/Tests/CTestTestCrash/test.cmake" -V -S "${CMake_BINARY_DIR}/Tests/CTestTestCrash/test.cmake" -V
--output-log "${CMake_BINARY_DIR}/Tests/CTestTestCrash/testOutput.log" --output-log "${CMake_BINARY_DIR}/Tests/CTestTestCrash/testOutput.log"
) )
SET_TESTS_PROPERTIES(CTestTestCrash PROPERTIES # with watcom the SEGFAULT is not found, it just fails
PASS_REGULAR_EXPRESSION "SegFault") IF(CMAKE_TEST_GENERATOR MATCHES "Watcom WMake")
SET_TESTS_PROPERTIES(CTestTestCrash PROPERTIES
PASS_REGULAR_EXPRESSION "Failed")
ELSE(CMAKE_TEST_GENERATOR MATCHES "Watcom WMake")
SET_TESTS_PROPERTIES(CTestTestCrash PROPERTIES
PASS_REGULAR_EXPRESSION "SegFault")
ENDIF(CMAKE_TEST_GENERATOR MATCHES "Watcom WMake")
CONFIGURE_FILE( CONFIGURE_FILE(
"${CMake_SOURCE_DIR}/Tests/CTestTestParallel/test.cmake.in" "${CMake_SOURCE_DIR}/Tests/CTestTestParallel/test.cmake.in"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment