r190829 - Fix test/Driver/cl-options.c test
Hans Wennborg
hans at hanshq.net
Mon Sep 16 17:25:08 PDT 2013
Author: hans
Date: Mon Sep 16 19:25:08 2013
New Revision: 190829
URL: http://llvm.org/viewvc/llvm-project?rev=190829&view=rev
Log:
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.
Modified:
cfe/trunk/test/Driver/cl-options.c
Modified: cfe/trunk/test/Driver/cl-options.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-options.c?rev=190829&r1=190828&r2=190829&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-options.c (original)
+++ cfe/trunk/test/Driver/cl-options.c Mon Sep 16 19:25:08 2013
@@ -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
More information about the cfe-commits
mailing list