Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
815ec522
Commit
815ec522
authored
Sep 24, 2009
by
Bill Hoffman
Browse files
SEGFAULT does not work on watcom with ctest, so don't expect it to...
parent
5a2f2485
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/CMakeLists.txt
View file @
815ec522
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment