Skip to content

Commit e71cd4b

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.6
1 parent 32180cf commit e71cd4b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

compiler-rt/test/fuzzer/uncaught-exception.test

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ RUN: %cpp_compiler %S/UncaughtException.cpp -o %t-UncaughtException
66

77
# Clang will fail the test with 'deadly signal', but other compilers may fail with different error messages.
88
# 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
1010

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|{{.*}}ERROR: libFuzzer: uncaught C++ exception}}

0 commit comments

Comments
 (0)