mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-03 07:38:57 +00:00
Avoid assumption that lit tests are writable (in a couple more places). NFC
llvm-svn: 322065
This commit is contained in:
parent
c94f3eb0cf
commit
94af5214a7
@ -3,9 +3,9 @@
|
||||
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir -p %t/include
|
||||
// RUN: cp %S/Inputs/Modified/A.h %t/include
|
||||
// RUN: cp %S/Inputs/Modified/B.h %t/include
|
||||
// RUN: cp %S/Inputs/Modified/module.map %t/include
|
||||
// RUN: cat %S/Inputs/Modified/A.h > %t/include/A.h
|
||||
// RUN: cat %S/Inputs/Modified/B.h > %t/include/B.h
|
||||
// RUN: cat %S/Inputs/Modified/module.map > %t/include/module.map
|
||||
// RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-maps -I %t/include %s -verify
|
||||
// RUN: echo '' >> %t/include/B.h
|
||||
// RUN: %clang_cc1 -fdisable-module-hash -fmodules-cache-path=%t/cache -fmodules -fimplicit-module-maps -I %t/include %s -verify
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Don't crash.
|
||||
|
||||
// RUN: cp %S/modified-header-crash.h %t.h
|
||||
// RUN: cat %S/modified-header-crash.h > %t.h
|
||||
// RUN: %clang_cc1 -DCAKE -x c-header %t.h -emit-pch -o %t
|
||||
// RUN: echo 'int foobar;' >> %t.h
|
||||
// RUN: not %clang_cc1 %s -include-pch %t -fsyntax-only
|
||||
|
Loading…
x
Reference in New Issue
Block a user