From 701a637e4d0294ad76df7c11244c9b9b2e84716d Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 3 Nov 2017 11:23:33 -0400 Subject: Tests: Fix CTestTestCrash test under ubsan UBsan causes our test crash to abort instead. Update our regex to tolerate this. --- Tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index c25fc44..d2b6969 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2830,7 +2830,7 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release PASS_REGULAR_EXPRESSION "Failed") else() set_tests_properties(CTestTestCrash PROPERTIES - PASS_REGULAR_EXPRESSION "(Illegal|SegFault)") + PASS_REGULAR_EXPRESSION "(Illegal|SegFault|Child aborted)") endif() configure_file( -- cgit v0.12