Tests: Look for "Illegal" or "SegFault" in the output
One of the dashmacmini5 runs of this test results in an "Illegal exception" detected instead of a segfault. For the purposes of this test, we're going to say that either is a "crash."
This commit is contained in:
parent
5b4528b1f4
commit
339a321e66
|
@ -1586,7 +1586,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=master -P ${CMake_SOURCE_DIR}/Utilities/
|
|||
PASS_REGULAR_EXPRESSION "Failed")
|
||||
ELSE(CMAKE_TEST_GENERATOR MATCHES "Watcom WMake")
|
||||
SET_TESTS_PROPERTIES(CTestTestCrash PROPERTIES
|
||||
PASS_REGULAR_EXPRESSION "SegFault")
|
||||
PASS_REGULAR_EXPRESSION "(Illegal|SegFault)")
|
||||
ENDIF(CMAKE_TEST_GENERATOR MATCHES "Watcom WMake")
|
||||
|
||||
CONFIGURE_FILE(
|
||||
|
|
Loading…
Reference in New Issue