Skip to content

Commit 741c24b

Browse files
authored
Merge pull request #105 from benlangmuir/darwin-feature
[darwin] Set 'darwin' feature to fix tests using UNSUPPORTED/REQUIRES
2 parents 4adf06b + c7bb59a commit 741c24b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/test/lit.cfg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ def is_filesystem_case_insensitive():
155155
if platform.system() not in ['Windows']:
156156
config.available_features.add('can-remove-opened-file')
157157

158+
# *-apple-macosx should also be XFAILED when 'darwin' is XFAILED.
159+
if lit.util.isMacOSTriple(config.target_triple):
160+
config.available_features.add('darwin')
158161

159162
def calculate_arch_features(arch_string):
160163
features = []

0 commit comments

Comments
 (0)