r190435 - Fix cl-link.c test failure on Mac platforms
Hans Wennborg
hans at hanshq.net
Tue Sep 10 13:53:34 PDT 2013
Author: hans
Date: Tue Sep 10 15:53:34 2013
New Revision: 190435
URL: http://llvm.org/viewvc/llvm-project?rev=190435&view=rev
Log:
Fix cl-link.c test failure on Mac platforms
The test filename (%s) is easily confused with an option when
it starts with /Users...
Modified:
cfe/trunk/test/Driver/cl-link.c
Modified: cfe/trunk/test/Driver/cl-link.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-link.c?rev=190435&r1=190434&r2=190435&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-link.c (original)
+++ cfe/trunk/test/Driver/cl-link.c Tue Sep 10 15:53:34 2013
@@ -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"
More information about the cfe-commits
mailing list