diff options
| author | Daniel Jasper <djasper@google.com> | 2016-03-02 14:26:59 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2016-03-02 14:26:59 +0000 |
| commit | 649fdb126a611a4776b79d235db879c1f9db808b (patch) | |
| tree | 6900e226d0b7d876b0798381d39b02d61d73d5f3 /clang/test | |
| parent | 537907fd3279916ded99d12d5eb957a52aa03d41 (diff) | |
| download | bcm5719-llvm-649fdb126a611a4776b79d235db879c1f9db808b.tar.gz bcm5719-llvm-649fdb126a611a4776b79d235db879c1f9db808b.zip | |
test/Driver/cl-pch-errorhandling.cpp: Copy input file to a temporary
location as we cannot assume the location of the input file to be
writable.
llvm-svn: 262487
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/cl-pch-errorhandling.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Driver/cl-pch-errorhandling.cpp b/clang/test/Driver/cl-pch-errorhandling.cpp index 1d239c1268d..41fcfbef0f3 100644 --- a/clang/test/Driver/cl-pch-errorhandling.cpp +++ b/clang/test/Driver/cl-pch-errorhandling.cpp @@ -6,7 +6,8 @@ // code generation, which makes this test require an x86 backend. // REQUIRES: x86-registered-target -// RUN: not %clang_cl -internal-enable-pch -Werror /Yc%S/Inputs/pchfile.h /FI%S/Inputs/pchfile.h /c -DERR_HEADER -- %s 2>&1 \ +// RUN: cp %S/Inputs/pchfile.h %t.h +// RUN: not %clang_cl -internal-enable-pch -Werror /Yc%t.h /FI%t.h /c -DERR_HEADER -- %s 2>&1 \ // RUN: | FileCheck %s // CHECK: nope1 |

