summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-09-17 00:25:08 +0000
committerHans Wennborg <hans@hanshq.net>2013-09-17 00:25:08 +0000
commitdc674a57d390a8c619f26ba96e85366c00333ce9 (patch)
treef04d1cf66b10d6f085702568e7b4da04d8f50839
parent885136d3b6a94cbbb9ea53f2c41d39c8ed145690 (diff)
downloadbcm5719-llvm-dc674a57d390a8c619f26ba96e85366c00333ce9.tar.gz
bcm5719-llvm-dc674a57d390a8c619f26ba96e85366c00333ce9.zip
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. llvm-svn: 190829
-rw-r--r--clang/test/Driver/cl-options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index f44c4169d0d..131b48265c7 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/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
OpenPOWER on IntegriCloud