summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl.c
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-28 17:13:24 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-28 17:13:24 +0000
commit9f0da2f152686c1e3bd11bcf393c81b3dd1089ee (patch)
tree602bb9d5dcdbaa9056963c2f5d2eb8ee4594c00c /clang/test/Driver/cl.c
parent5150f2f558262af5d36b1cb672141fba6be436a9 (diff)
downloadbcm5719-llvm-9f0da2f152686c1e3bd11bcf393c81b3dd1089ee.tar.gz
bcm5719-llvm-9f0da2f152686c1e3bd11bcf393c81b3dd1089ee.zip
Try single quotes to fix the msys bot:
It was still failing with double quotes: http://bb.pgr.jp/builders/clang-i686-msys/builds/698/steps/test_clang/logs/Clang%20%3A%3A%20Driver__cl.c llvm-svn: 187330
Diffstat (limited to 'clang/test/Driver/cl.c')
-rw-r--r--clang/test/Driver/cl.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/clang/test/Driver/cl.c b/clang/test/Driver/cl.c
index 13cd9c26195..677ccac525b 100644
--- a/clang/test/Driver/cl.c
+++ b/clang/test/Driver/cl.c
@@ -1,19 +1,18 @@
-// Note: we have to quote the /? option, otherwise some shells will try
-// to expand the ? into a one-letter filename in the root directory,
-// and make the test fail if such a file or directory exists.
+// Note: we have to quote the options with a /, otherwise some shells will try
+// to expand it and make test fail.
// Check that clang-cl options are not available by default.
// RUN: %clang -help | FileCheck %s -check-prefix=DEFAULT
// DEFAULT-NOT: CL.EXE COMPATIBILITY OPTIONS
// DEFAULT-NOT: {{/[?]}}
// DEFAULT-NOT: /help
-// RUN: not %clang "/?"
+// RUN: not %clang '/?'
// RUN: not %clang -?
-// RUN: not %clang /help
+// RUN: not %clang '/help'
-// Check that "/?" and /help are available as clang-cl options.
-// RUN: %clang_cl "/?" | FileCheck %s -check-prefix=CL
-// RUN: %clang_cl /help | FileCheck %s -check-prefix=CL
+// Check that '/?' and '/help' are available as clang-cl options.
+// RUN: %clang_cl '/?' | FileCheck %s -check-prefix=CL
+// RUN: %clang_cl '/help' | FileCheck %s -check-prefix=CL
// RUN: %clang_cl -help | FileCheck %s -check-prefix=CL
// CL: CL.EXE COMPATIBILITY OPTIONS
// CL: {{/[?]}}
OpenPOWER on IntegriCloud