From: Hans Wennborg Date: Tue, 17 Sep 2013 00:25:08 +0000 (+0000) Subject: Fix test/Driver/cl-options.c test X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de2b33df56e2f2880eacda04ae73e5a31c5e3edd;p=clang Fix test/Driver/cl-options.c test 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 --- diff --git a/test/Driver/cl-options.c b/test/Driver/cl-options.c index f44c4169d0..131b48265c 100644 --- a/test/Driver/cl-options.c +++ b/test/Driver/cl-options.c @@ -100,7 +100,7 @@ // 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