File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,6 @@ RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException
6
6
7
7
# Clang will fail the test with 'deadly signal', but other compilers may fail with different error messages.
8
8
# For example, msvc fails with 'uncaught C++ exception'. So the error we check depends on the compiler target.
9
- RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s --check-prefixes=CHECK-CRASH,%if target={{.*-windows-msvc.*}} %{CHECK-MSVC%} %else %{CHECK-ERROR%}
9
+ RUN: not %run %t-UncaughtException 2>&1 | FileCheck %s
10
10
11
- CHECK-ERROR: ERROR: libFuzzer: deadly signal
12
- CHECK-MSVC: ERROR: libFuzzer: uncaught C++ exception
13
- CHECK-CRASH: Test unit written to ./crash
11
+ CHECK: ERROR: libFuzzer: {{deadly signal|uncaught C++ exception}}
You can’t perform that action at this time.
0 commit comments