forked from OSchip/llvm-project
Add -fsyntax-only to fix failure in read-only directories.
Internally, this test is executed in a read-only directory, which causes it to fail because the driver tries to generate a file unnecessarily. Adding -fsyntax-only fixes the issue (thanks to Artem Belevich for figuring out the root cause). llvm-svn: 255809
This commit is contained in:
parent
bfd96183ef
commit
1f5d845452
|
@ -1,6 +1,6 @@
|
|||
// REQUIRES: x86-registered-target
|
||||
|
||||
// RUN: %clang -target i386-pc-elfiamcu -c -v %s 2>&1 | FileCheck %s
|
||||
// RUN: %clang -target i386-pc-elfiamcu -c -v -fsyntax-only %s 2>&1 | FileCheck %s
|
||||
// CHECK-NOT: /usr/include
|
||||
// CHECK-NOT: /usr/local/include
|
||||
|
||||
|
|
Loading…
Reference in New Issue