]> granicus.if.org Git - clang/commitdiff
Fix test/Driver/cl-options.c test
authorHans Wennborg <hans@hanshq.net>
Tue, 17 Sep 2013 00:25:08 +0000 (00:25 +0000)
committerHans Wennborg <hans@hanshq.net>
Tue, 17 Sep 2013 00:25:08 +0000 (00:25 +0000)
The test builds an object file to be able to get into linking mode
with a valid obj file on the command-line. Using clang-cl for this,
which targets win32, caused problems on some buildbots, so just
use regular clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190829 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cl-options.c

index f44c4169d0d576461e3c09b415ab32b92d8926ac..131b48265c70cd30a8f850557918123b817069d1 100644 (file)
 // RUN: %clang_cl /Zs /WX /Zc:forScope /Zc:wchar_t /w12345 /wd1234 /RTC1 -- %s
 
 // Ignored options and compile-only options are ignored for link jobs.
-// RUN: %clang_cl /c /Fo%t.obj /Tc%s
+// RUN: %clang -c %s -o %t.obj
 // RUN: %clang_cl /nologo -### -- %t.obj 2>&1 | FileCheck -check-prefix=LINKUNUSED %s
 // RUN: %clang_cl /Dfoo -### -- %t.obj 2>&1 | FileCheck -check-prefix=LINKUNUSED %s
 // RUN: %clang_cl /MD -### -- %t.obj 2>&1 | FileCheck -check-prefix=LINKUNUSED %s