There is a way to specify targets that should succeed. It's the "XTARGET"

keyword.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65692 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling
2009-02-28 12:11:01 +00:00
parent b141e397d5
commit da3e7057cc

View File

@@ -1,7 +1,7 @@
/* RUN: %llvmgcc %s -S -o - -emit-llvm | \ /* RUN: %llvmgcc %s -S -o - -emit-llvm | \
RUN: egrep {CSTRING SECTION.\*section.\*__TEXT,.\*__cstring} RUN: egrep {CSTRING SECTION.\*section.\*__TEXT,.\*__cstring}
XFAIL: linux,ia64,alpha,sparc XFAIL: *
TARGET: *-*-darwin* XTARGET: darwin
END. END.
Insure that stings go to the cstring section. This test is Insure that stings go to the cstring section. This test is
intended solely for Darwin targets. intended solely for Darwin targets.