summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-03-02 14:26:59 +0000
committerDaniel Jasper <djasper@google.com>2016-03-02 14:26:59 +0000
commit649fdb126a611a4776b79d235db879c1f9db808b (patch)
tree6900e226d0b7d876b0798381d39b02d61d73d5f3 /clang
parent537907fd3279916ded99d12d5eb957a52aa03d41 (diff)
downloadbcm5719-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')
-rw-r--r--clang/test/Driver/cl-pch-errorhandling.cpp3
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
OpenPOWER on IntegriCloud