From 40fcca321c5eb949c8bf5f3afecf8eb0c64e32c3 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Tue, 10 Sep 2013 20:53:34 +0000 Subject: [PATCH] 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 --- test/Driver/cl-link.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.40.0