From: Hans Wennborg Date: Tue, 10 Sep 2013 20:53:34 +0000 (+0000) Subject: Fix cl-link.c test failure on Mac platforms X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40fcca321c5eb949c8bf5f3afecf8eb0c64e32c3;p=clang Fix cl-link.c test failure on Mac platforms The test filename (%s) is easily confused with an option when it starts with /Users... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190435 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/cl-link.c b/test/Driver/cl-link.c index f46298a194..b789c24823 100644 --- a/test/Driver/cl-link.c +++ b/test/Driver/cl-link.c @@ -18,8 +18,8 @@ // ASAN: "{{.*}}clang_rt.asan-i386.lib" // ASAN: "{{.*}}cl-link{{.*}}.obj" -// RUN: %clang_cl /LD -### %s 2>&1 | FileCheck --check-prefix=DLL %s -// RUN: %clang_cl /LDd -### %s 2>&1 | FileCheck --check-prefix=DLL %s +// RUN: %clang_cl /LD -### /Tc%s 2>&1 | FileCheck --check-prefix=DLL %s +// RUN: %clang_cl /LDd -### /Tc%s 2>&1 | FileCheck --check-prefix=DLL %s // DLL: link.exe // "-dll"