diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-02-06 00:04:52 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-02-06 00:04:52 +0000 |
commit | ba65d61767db168c4f2350357307b4577ff7f4eb (patch) | |
tree | 61e971c25dba7a3ea42f638393a32dc8b2438742 /libcxx | |
parent | 258f9357ef613372d5b5f96d0a9f7f98173dbc3e (diff) | |
download | bcm5719-llvm-ba65d61767db168c4f2350357307b4577ff7f4eb.tar.gz bcm5719-llvm-ba65d61767db168c4f2350357307b4577ff7f4eb.zip |
[tests] Accept XFAIL arguments that match any part of a feature.
llvm-svn: 174469
Diffstat (limited to 'libcxx')
-rw-r--r-- | libcxx/test/lit.cfg | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libcxx/test/lit.cfg b/libcxx/test/lit.cfg index 0c74a7d0f08..d48872c452d 100644 --- 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: |