From: Douglas Yung Date: Mon, 24 Jun 2019 22:26:08 +0000 (+0000) Subject: Fix test cl-response-file.c to work on all platforms including Windows/Solaris. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bf0809d9efcb093136aaea4d394fcf25a3627f1;p=clang Fix test cl-response-file.c to work on all platforms including Windows/Solaris. Differential Revision: https://reviews.llvm.org/D63678 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364245 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/cl-response-file.c b/test/Driver/cl-response-file.c index 51ee00bff4..73acfadfc7 100644 --- a/test/Driver/cl-response-file.c +++ b/test/Driver/cl-response-file.c @@ -4,7 +4,7 @@ -// RUN: echo '/I%S\Inputs\cl-response-file\ /DFOO=2' > %t.rsp +// RUN: printf '%%s\n' '/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"