There is a way to specify targets that should succeed. It's the "XTARGET"
authorBill Wendling <isanbard@gmail.com>
Sat, 28 Feb 2009 12:11:01 +0000 (12:11 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 28 Feb 2009 12:11:01 +0000 (12:11 +0000)
keyword.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65692 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC/2009-02-27-CString.c

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