]> granicus.if.org Git - clang/commitdiff
Fix cl-link.c test failure on Mac platforms
authorHans Wennborg <hans@hanshq.net>
Tue, 10 Sep 2013 20:53:34 +0000 (20:53 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 10 Sep 2013 20:53:34 +0000 (20:53 +0000)
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

index f46298a19471ff17e5406c3ec52493046f74bf3e..b789c2482396bfe02121dc38623edf3fa3bc37fc 100644 (file)
@@ -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"