projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
258f935
)
[tests] Accept XFAIL arguments that match any part of a feature.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 6 Feb 2013 00:04:52 +0000
(
00:04
+0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 6 Feb 2013 00:04:52 +0000
(
00:04
+0000)
llvm-svn: 174469
libcxx/test/lit.cfg
patch
|
blob
|
history
diff --git
a/libcxx/test/lit.cfg
b/libcxx/test/lit.cfg
index
0c74a7d
..
d48872c
100644
(file)
--- a/
libcxx/test/lit.cfg
+++ b/
libcxx/test/lit.cfg
@@
-21,9
+21,10
@@
def isExpectedFail(test, xfails):
if item == '*':
return True
- # If this is an exact match for one of the features, it fails.
- if item in test.config.available_features:
- return True
+ # If this is a part of any of the features, it fails.
+ for feature in test.config.available_features:
+ if item in feature:
+ return True
# If this is a part of the target triple, it fails.
if item in test.suite.config.target_triple: