[cfe-commits] r149793 - /cfe/trunk/test/Driver/freebsd.c

Bob Wilson bob.wilson at apple.com
Sat Feb 4 15:15:59 PST 2012


Author: bwilson
Date: Sat Feb  4 17:15:59 2012
New Revision: 149793

URL: http://llvm.org/viewvc/llvm-project?rev=149793&view=rev
Log:
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.

Modified:
    cfe/trunk/test/Driver/freebsd.c

Modified: cfe/trunk/test/Driver/freebsd.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/freebsd.c?rev=149793&r1=149792&r2=149793&view=diff
==============================================================================
--- cfe/trunk/test/Driver/freebsd.c (original)
+++ cfe/trunk/test/Driver/freebsd.c Sat Feb  4 17:15:59 2012
@@ -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





More information about the cfe-commits mailing list