]> granicus.if.org Git - clang/commitdiff
Revert [test][Driver] Fix Clang :: Driver/cl-response-file.c
authorReid Kleckner <rnk@google.com>
Fri, 21 Jun 2019 18:33:20 +0000 (18:33 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 21 Jun 2019 18:33:20 +0000 (18:33 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364089 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cl-response-file.c

index 9186c43050d6e720c3cc2ce4ae17664ed18508ce..51ee00bff4ed18c26842c0848dfd653e3fc89bf9 100644 (file)
@@ -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"