summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/Xarch.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/Xarch.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/Xarch.c')
-rw-r--r--clang/test/Driver/Xarch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Driver/Xarch.c b/clang/test/Driver/Xarch.c
index ba6f5c63d4d..b35bf6c92df 100644
--- a/clang/test/Driver/Xarch.c
+++ b/clang/test/Driver/Xarch.c
@@ -1,9 +1,9 @@
-// RUN: clang -ccc-host-triple i386-apple-darwin9 -m32 -Xarch_i386 -O2 %s -S -### 2> %t.log
+// RUN: %clang -ccc-host-triple i386-apple-darwin9 -m32 -Xarch_i386 -O2 %s -S -### 2> %t.log
// RUN: grep ' "-O2" ' %t.log | count 1
-// RUN: clang -ccc-host-triple i386-apple-darwin9 -m64 -Xarch_i386 -O2 %s -S -### 2> %t.log
+// RUN: %clang -ccc-host-triple i386-apple-darwin9 -m64 -Xarch_i386 -O2 %s -S -### 2> %t.log
// RUN: grep ' "-O2" ' %t.log | count 0
// RUN: grep "argument unused during compilation: '-Xarch_i386 -O2'" %t.log
-// RUN: not clang -ccc-host-triple i386-apple-darwin9 -m32 -Xarch_i386 -o -Xarch_i386 -S %s -S -Xarch_i386 -o 2> %t.log
+// RUN: not %clang -ccc-host-triple i386-apple-darwin9 -m32 -Xarch_i386 -o -Xarch_i386 -S %s -S -Xarch_i386 -o 2> %t.log
// RUN: grep "error: invalid Xarch argument: '-Xarch_i386 -o'" %t.log | count 2
// RUN: grep "error: invalid Xarch argument: '-Xarch_i386 -S'" %t.log
OpenPOWER on IntegriCloud