[libcxx] r174469 - [tests] Accept XFAIL arguments that match any part of a feature.
Daniel Dunbar
daniel at zuster.org
Tue Feb 5 16:04:53 PST 2013
Author: ddunbar
Date: Tue Feb 5 18:04:52 2013
New Revision: 174469
URL: http://llvm.org/viewvc/llvm-project?rev=174469&view=rev
Log:
[tests] Accept XFAIL arguments that match any part of a feature.
Modified:
libcxx/trunk/test/lit.cfg
Modified: libcxx/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=174469&r1=174468&r2=174469&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Tue Feb 5 18:04:52 2013
@@ -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:
More information about the cfe-commits
mailing list