r267601 - Try to get at_file_missing.c passing after LLVM r267556.

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 26 13:40:23 PDT 2016


Author: nico
Date: Tue Apr 26 15:40:23 2016
New Revision: 267601

URL: http://llvm.org/viewvc/llvm-project?rev=267601&view=rev
Log:
Try to get at_file_missing.c passing after LLVM r267556.

r267556 made backslashes escape the next character
unconditionally in rsp files.  This test echos a path into
a rsp file, and paths contain backslashes on Windows. Since
it's not important for this test to get the filename from
the rsp file, just pass it regularly.

Modified:
    cfe/trunk/test/Driver/at_file_missing.c

Modified: cfe/trunk/test/Driver/at_file_missing.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/at_file_missing.c?rev=267601&r1=267600&r2=267601&view=diff
==============================================================================
--- cfe/trunk/test/Driver/at_file_missing.c (original)
+++ cfe/trunk/test/Driver/at_file_missing.c Tue Apr 26 15:40:23 2016
@@ -1,7 +1,7 @@
 // Make sure that arguments that begin with @ are left as is in the argument
 // stream, and also that @file arguments continue to be processed.
 
-// RUN: echo "%s -D FOO" > %t.args
-// RUN: %clang -rpath @executable_path/../lib @%t.args -### 2>&1 | FileCheck %s
+// RUN: echo "-D FOO" > %t.args
+// RUN: %clang -rpath @executable_path/../lib @%t.args %s -### 2>&1 | FileCheck %s
 // CHECK: "-D" "FOO"
 // CHECK: "-rpath" "@executable_path/../lib"




More information about the cfe-commits mailing list