summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/parsing.c
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-12-15 22:01:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-12-15 22:01:24 +0000
commit5618e98f3345d87076550a56ebe571bf85e6d34e (patch)
treee4b61cb0c86ce3e96bcb9ab7b72da5b0ba921c2d /clang/test/Driver/parsing.c
parente44756d7c2f3423dd2610e33dcbc30762877c3ed (diff)
downloadbcm5719-llvm-5618e98f3345d87076550a56ebe571bf85e6d34e.tar.gz
bcm5719-llvm-5618e98f3345d87076550a56ebe571bf85e6d34e.zip
Update tests to use %clang instead of 'clang', and forcibly disable use of '
clang ' or ' clang -cc1 ' or ' clang-cc ' in test lines (by substituting them to garbage). llvm-svn: 91460
Diffstat (limited to 'clang/test/Driver/parsing.c')
-rw-r--r--clang/test/Driver/parsing.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Driver/parsing.c b/clang/test/Driver/parsing.c
index 48b9d6a23f1..ca3a7f44fd8 100644
--- a/clang/test/Driver/parsing.c
+++ b/clang/test/Driver/parsing.c
@@ -1,4 +1,4 @@
-// RUN: clang -ccc-print-options input -Yunknown -m32 -arch ppc -djoined -A separate -Ajoined -Wp,one,two -Xarch_joined AndSeparate -sectalign 1 2 3 2> %t
+// RUN: %clang -ccc-print-options input -Yunknown -m32 -arch ppc -djoined -A separate -Ajoined -Wp,one,two -Xarch_joined AndSeparate -sectalign 1 2 3 2> %t
// RUN: grep 'Option 0 - Name: "-ccc-print-options", Values: {}' %t
// RUN: grep 'Option 1 - Name: "<input>", Values: {"input"}' %t
// RUN: grep 'Option 2 - Name: "<unknown>", Values: {"-Yunknown"}' %t
@@ -11,13 +11,13 @@
// RUN: grep 'Option 9 - Name: "-Xarch_", Values: {"joined", "AndSeparate"}' %t
// RUN: grep 'Option 10 - Name: "-sectalign", Values: {"1", "2", "3"}' %t
-// RUN: not clang -V 2> %t
+// RUN: not %clang -V 2> %t
// RUN: grep "error: argument to '-V' is missing (expected 1 value)" %t
-// RUN: not clang -sectalign 1 2 2> %t
+// RUN: not %clang -sectalign 1 2 2> %t
// RUN: grep "error: argument to '-sectalign' is missing (expected 3 values)" %t
// Verify that search continues after find the first option.
-// RUN: clang -ccc-print-options -Wally 2> %t
+// RUN: %clang -ccc-print-options -Wally 2> %t
// RUN: grep 'Option 0 - Name: "-ccc-print-options", Values: {}' %t
// RUN: grep 'Option 1 - Name: "-W", Values: {"ally"}' %t
OpenPOWER on IntegriCloud