forked from OSchip/llvm-project
Fix windows build
This commit is contained in:
parent
c4d9698f3c
commit
a0ef52cc10
|
@ -1,6 +1,6 @@
|
|||
// RUN: rm -rf %t && mkdir %t
|
||||
|
||||
// RUN: echo "%s -fcrash-diagnostics-dir=%t -fsyntax-only" > %t.rsp
|
||||
// RUN: echo "%s -fcrash-diagnostics-dir=%t -fsyntax-only" | sed -e 's/\\/\\\\/g' > %t.rsp
|
||||
|
||||
// RUN: not %clang -DFATAL @%t.rsp -gen-reproducer=off 2>&1 | FileCheck %s --check-prefix=NOT
|
||||
// RUN: not %clang -DFATAL @%t.rsp -fno-crash-diagnostics 2>&1 | FileCheck %s --check-prefix=NOT
|
||||
|
@ -29,8 +29,8 @@
|
|||
// RUN: not %clang -gen-reproducer=badvalue 2>&1 | FileCheck %s --check-prefix=BAD-VALUE
|
||||
// BAD-VALUE: Unknown value for -gen-reproducer=: 'badvalue'
|
||||
|
||||
// CHECK: note: diagnostic msg: {{.*}}emit-reproducer{{.*}}.c
|
||||
// NOT-NOT: note: diagnostic msg: {{.*}}emit-reproducer{{.*}}.c
|
||||
// CHECK: note: diagnostic msg: {{.*}}emit-reproducer-{{.*}}.c
|
||||
// NOT-NOT: note: diagnostic msg: {{.*}}emit-reproducer-{{.*}}.c
|
||||
|
||||
#ifdef FATAL
|
||||
#pragma clang __debug crash
|
||||
|
|
Loading…
Reference in New Issue