From e4956d2ec626f3fca8edcb097f366e40d91733c1 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 21 Jun 2019 18:33:20 +0000 Subject: [PATCH] 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. llvm-svn: 364089 --- clang/test/Driver/cl-response-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Driver/cl-response-file.c b/clang/test/Driver/cl-response-file.c index 9186c43050d6..51ee00bff4ed 100644 --- a/clang/test/Driver/cl-response-file.c +++ b/clang/test/Driver/cl-response-file.c @@ -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"