Feel free to change. I have no idea what I am doing here. On Wed, Mar 2, 2016 at 12:55 PM, Nico Weber <tha...@chromium.org> wrote:
> (A different fix would've been to just add /Fp%.pch to set the output path > to be not next to the inputs.) > > On Wed, Mar 2, 2016 at 6:27 AM, Daniel Jasper via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Author: djasper >> Date: Wed Mar 2 08:26:59 2016 >> New Revision: 262487 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=262487&view=rev >> Log: >> 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. >> >> Modified: >> cfe/trunk/test/Driver/cl-pch-errorhandling.cpp >> >> Modified: cfe/trunk/test/Driver/cl-pch-errorhandling.cpp >> URL: >> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-pch-errorhandling.cpp?rev=262487&r1=262486&r2=262487&view=diff >> >> ============================================================================== >> --- cfe/trunk/test/Driver/cl-pch-errorhandling.cpp (original) >> +++ cfe/trunk/test/Driver/cl-pch-errorhandling.cpp Wed Mar 2 08:26:59 >> 2016 >> @@ -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 >> >> >> _______________________________________________ >> cfe-commits mailing list >> cfe-commits@lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits >> > >
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits