summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2016-02-04 16:21:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2016-02-04 16:21:38 +0000
commite4dff62f64082770ac35bf556142b89e8d00d500 (patch)
tree471f4a0ea5aa4f51d8abe412dcd8c4f5b109f115 /llvm/utils
parente8cbae32e966b7c66072aa0edd950a718217eccf (diff)
downloadbcm5719-llvm-e4dff62f64082770ac35bf556142b89e8d00d500.tar.gz
bcm5719-llvm-e4dff62f64082770ac35bf556142b89e8d00d500.zip
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. llvm-svn: 259799
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/lit/lit/Test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/lit/Test.py b/llvm/utils/lit/lit/Test.py
index ef0e7bfc2a3..fd02a548d9a 100644
--- a/llvm/utils/lit/lit/Test.py
+++ b/llvm/utils/lit/lit/Test.py
@@ -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
OpenPOWER on IntegriCloud