diff options
author | David Cole <david.cole@kitware.com> | 2011-09-06 16:06:36 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2011-09-06 16:06:36 (GMT) |
commit | 339a321e66e142edbb0c6228caf368f09b4a072f (patch) | |
tree | 32a7810d4a31eb3cb95625c6ad05247014f7db41 | |
parent | 5b4528b1f45a2a7d1ef5effe9813b1a2d764ac60 (diff) | |
download | CMake-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.txt | 2 |
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( |