<div dir="ltr">Feel free to change. I have no idea what I am doing here.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 2, 2016 at 12:55 PM, Nico Weber <span dir="ltr"><<a href="mailto:thakis@chromium.org" target="_blank">thakis@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">(A different fix would've been to just add /Fp%.pch to set the output path to be not next to the inputs.)</div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Mar 2, 2016 at 6:27 AM, Daniel Jasper via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a>></span> wrote:<br></span><div><div class="h5"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: djasper<br>
Date: Wed Mar  2 08:26:59 2016<br>
New Revision: 262487<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=262487&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=262487&view=rev</a><br>
Log:<br>
test/Driver/cl-pch-errorhandling.cpp: Copy input file to a temporary<br>
location as we cannot assume the location of the input file to be<br>
writable.<br>
<br>
Modified:<br>
    cfe/trunk/test/Driver/cl-pch-errorhandling.cpp<br>
<br>
Modified: cfe/trunk/test/Driver/cl-pch-errorhandling.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-pch-errorhandling.cpp?rev=262487&r1=262486&r2=262487&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-pch-errorhandling.cpp?rev=262487&r1=262486&r2=262487&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/test/Driver/cl-pch-errorhandling.cpp (original)<br>
+++ cfe/trunk/test/Driver/cl-pch-errorhandling.cpp Wed Mar  2 08:26:59 2016<br>
@@ -6,7 +6,8 @@<br>
 // code generation, which makes this test require an x86 backend.<br>
 // REQUIRES: x86-registered-target<br>
<br>
-// RUN: not %clang_cl -internal-enable-pch -Werror /Yc%S/Inputs/pchfile.h /FI%S/Inputs/pchfile.h /c -DERR_HEADER -- %s 2>&1 \<br>
+// RUN: cp %S/Inputs/pchfile.h %t.h<br>
+// RUN: not %clang_cl -internal-enable-pch -Werror /Yc%t.h /FI%t.h /c -DERR_HEADER -- %s 2>&1 \<br>
 // RUN:   | FileCheck %s<br>
<br>
 // CHECK: nope1<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div></div></div><br></div>
</blockquote></div><br></div>