r364089 - Revert [test][Driver] Fix Clang :: Driver/cl-response-file.c

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 21 11:33:21 PDT 2019


Author: rnk
Date: Fri Jun 21 11:33:20 2019
New Revision: 364089

URL: http://llvm.org/viewvc/llvm-project?rev=364089&view=rev
Log:
Revert [test][Driver] Fix Clang :: Driver/cl-response-file.c

This reverts r363985 (git commit d5f16d6cfccc4b0b13b6c01d16c673886d53e695)

This test can't use printf on Windows because the path contains
backslashes which must not be interpreted as escapes by printf.

Modified:
    cfe/trunk/test/Driver/cl-response-file.c

Modified: cfe/trunk/test/Driver/cl-response-file.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-response-file.c?rev=364089&r1=364088&r2=364089&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-response-file.c (original)
+++ cfe/trunk/test/Driver/cl-response-file.c Fri Jun 21 11:33:20 2019
@@ -4,7 +4,7 @@
 
 
 
-// RUN: printf '/I%S\Inputs\\cl-response-file\ /DFOO=2' > %t.rsp
+// RUN: echo '/I%S\Inputs\cl-response-file\ /DFOO=2' > %t.rsp
 // RUN: %clang_cl /c -### @%t.rsp -- %s 2>&1 | FileCheck %s
 
 // CHECK: "-I" "{{.*}}\\Inputs\\cl-response-file\\" "-D" "FOO=2"




More information about the cfe-commits mailing list