The canonical way to XFAIL a test for all targets is XFAIL: *, not XFAIL:

Fix the lit bug that enabled this "feature" (empty triple is substring
of all possible target triples) and change the two outliers to use the
documented * syntax.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2016-02-04 16:21:38 +00:00
parent 60f6cd1467
commit 67256b88e5
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
; XFAIL:
; XFAIL: *
; RUN: llc -march=hexagon < %s | FileCheck %s
; CHECK: r[[T0:[0-9]+]] = CONST32(#s2)
; CHECK: memw(r29+#0) = r{{.}}

View File

@ -1,4 +1,4 @@
; XFAIL:
; XFAIL: *
; RUN: opt -basicaa -print-memoryssa -verify-memoryssa -analyze < %s 2>&1 | FileCheck %s
;
; Invariant loads should be considered live on entry, because, once the

View File

@ -230,7 +230,7 @@ class Test:
return True
# If this is a part of the target triple, it fails.
if item in self.suite.config.target_triple:
if item and item in self.suite.config.target_triple:
return True
return False