summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-06-12 20:22:45 +0000
committerBob Wilson <bob.wilson@apple.com>2012-06-12 20:22:45 +0000
commitd5ea39a871198eafbf153e408ed1cbfaed5afe69 (patch)
treeaaa9d36ca9977ba3ef7f99359922b759a8450a3c /clang
parent67cd5919899f0355f8df384e88996acb10a0d17d (diff)
downloadbcm5719-llvm-d5ea39a871198eafbf153e408ed1cbfaed5afe69.tar.gz
bcm5719-llvm-d5ea39a871198eafbf153e408ed1cbfaed5afe69.zip
Fix test to work when clang is built without powerpc64 support.
llvm-svn: 158370
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Driver/clang-translation.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/clang/test/Driver/clang-translation.c b/clang/test/Driver/clang-translation.c
index cc368bb0cba..76196da9fc3 100644
--- a/clang/test/Driver/clang-translation.c
+++ b/clang/test/Driver/clang-translation.c
@@ -52,21 +52,24 @@
// ARMV5E: "-cc1"
// ARMV5E: "-target-cpu" "arm1022e"
-// RUN: %clang -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log \
+// RUN: %clang -ccc-clang-archs powerpc64 \
+// RUN: -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log \
// RUN: -mcpu=G5
// RUN: FileCheck -check-prefix=PPCG5 %s < %t.log
// PPCG5: clang
// PPCG5: "-cc1"
// PPCG5: "-target-cpu" "g5"
-// RUN: %clang -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log \
+// RUN: %clang -ccc-clang-archs powerpc64 \
+// RUN: -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log \
// RUN: -mcpu=power7
// RUN: FileCheck -check-prefix=PPCPWR7 %s < %t.log
// PPCPWR7: clang
// PPCPWR7: "-cc1"
// PPCPWR7: "-target-cpu" "pwr7"
-// RUN: %clang -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log
+// RUN: %clang -ccc-clang-archs powerpc64 \
+// RUN: -target powerpc64-unknown-linux-gnu -### -S %s 2> %t.log
// RUN: FileCheck -check-prefix=PPC64NS %s < %t.log
// PPC64NS: clang
// PPC64NS: "-cc1"
OpenPOWER on IntegriCloud