diff options
author | Bob Wilson <bob.wilson@apple.com> | 2012-06-12 20:22:45 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2012-06-12 20:22:45 +0000 |
commit | afaa421c44f29e3e51d0cff9bfb80275f58a6bba (patch) | |
tree | 9bb97117d94ca4a00bdb2b20f046d7f0493a92a9 | |
parent | a01eddbd07aa7e864da14cae20ce772dfdd082fa (diff) |
Fix test to work when clang is built without powerpc64 support.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158370 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/clang-translation.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/Driver/clang-translation.c b/test/Driver/clang-translation.c index cc368bb0cb..76196da9fc 100644 --- a/test/Driver/clang-translation.c +++ b/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" |