[Cmake-commits] [cmake-commits] hoffman committed CMakeLists.txt 1.115 1.116

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Sep 24 14:14:26 EDT 2009


Update of /cvsroot/CMake/CMake/Tests
In directory public:/mounts/ram/cvs-serv8854

Modified Files:
	CMakeLists.txt 
Log Message:
SEGFAULT does not work on watcom with ctest, so don't expect it to...


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeLists.txt,v
retrieving revision 1.115
retrieving revision 1.116
diff -C 2 -d -r1.115 -r1.116
*** CMakeLists.txt	23 Sep 2009 18:13:33 -0000	1.115
--- CMakeLists.txt	24 Sep 2009 18:14:23 -0000	1.116
***************
*** 1072,1077 ****
      --output-log "${CMake_BINARY_DIR}/Tests/CTestTestCrash/testOutput.log"
      )
!   SET_TESTS_PROPERTIES(CTestTestCrash PROPERTIES
!     PASS_REGULAR_EXPRESSION "SegFault")
      
    CONFIGURE_FILE(
--- 1072,1083 ----
      --output-log "${CMake_BINARY_DIR}/Tests/CTestTestCrash/testOutput.log"
      )
!   # 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(



More information about the Cmake-commits mailing list