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:
David Cole 2011-09-06 12:06:36 -04:00
parent 5b4528b1f4
commit 339a321e66
1 changed files with 1 additions and 1 deletions

View File

@ -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(