diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-24 18:14:23 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-24 18:14:23 (GMT) |
commit | 815ec522eee1676cd7d6d8b2f9c7e5e3da43aee6 (patch) | |
tree | 6cc63e8bf63e63c8c588bf3eac826002f46a9843 | |
parent | 5a2f24856e777550042121c1465f8882de49ca2e (diff) | |
download | CMake-815ec522eee1676cd7d6d8b2f9c7e5e3da43aee6.zip CMake-815ec522eee1676cd7d6d8b2f9c7e5e3da43aee6.tar.gz CMake-815ec522eee1676cd7d6d8b2f9c7e5e3da43aee6.tar.bz2 |
SEGFAULT does not work on watcom with ctest, so don't expect it to...
-rw-r--r-- | Tests/CMakeLists.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 55095bf..ddebfc6 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -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 --output-log "${CMake_BINARY_DIR}/Tests/CTestTestCrash/testOutput.log" ) - SET_TESTS_PROPERTIES(CTestTestCrash PROPERTIES - PASS_REGULAR_EXPRESSION "SegFault") + # with watcom the SEGFAULT is not found, it just fails + 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( "${CMake_SOURCE_DIR}/Tests/CTestTestParallel/test.cmake.in" |