summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-09-06 16:06:36 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-09-06 16:06:36 (GMT)
commit339a321e66e142edbb0c6228caf368f09b4a072f (patch)
tree32a7810d4a31eb3cb95625c6ad05247014f7db41
parent5b4528b1f45a2a7d1ef5effe9813b1a2d764ac60 (diff)
downloadCMake-339a321e66e142edbb0c6228caf368f09b4a072f.zip
CMake-339a321e66e142edbb0c6228caf368f09b4a072f.tar.gz
CMake-339a321e66e142edbb0c6228caf368f09b4a072f.tar.bz2
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."
-rw-r--r--Tests/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 9f4e8a3..7f83a47 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -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(