summaryrefslogtreecommitdiff
path: root/test/Driver/freebsd.c
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2012-02-04 23:15:59 +0000
committerBob Wilson <bob.wilson@apple.com>2012-02-04 23:15:59 +0000
commita3cb14471095c0b7f7401f0c33af0c6766174ef4 (patch)
treea9ac8b7a45666907988498c222cdddc09195f8ed /test/Driver/freebsd.c
parent6cd03dbb310f472b14b8d6d69d8c9b5b7f1200e2 (diff)
downloadclang-a3cb14471095c0b7f7401f0c33af0c6766174ef4.tar.gz
clang-a3cb14471095c0b7f7401f0c33af0c6766174ef4.tar.bz2
clang-a3cb14471095c0b7f7401f0c33af0c6766174ef4.tar.xz
Skip freebsd driver test when ppc32/ppc64 targets are not configured.
Otherwise, the clang driver falls back to invoking gcc and the ppc tests fail. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/freebsd.c')
-rw-r--r--test/Driver/freebsd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Driver/freebsd.c b/test/Driver/freebsd.c
index e022464790..c860c3bb14 100644
--- a/test/Driver/freebsd.c
+++ b/test/Driver/freebsd.c
@@ -1,3 +1,4 @@
+// REQUIRES: ppc32-registered-target,ppc64-registered-target
// RUN: %clang -no-canonical-prefixes -target powerpc-pc-freebsd8 %s \
// RUN: --sysroot=%S/Inputs/basic_freebsd_tree -### 2>&1 \
// RUN: | FileCheck --check-prefix=CHECK-PPC %s