Skip to content

Commit dc6e877

Browse files
authored
Merge pull request #106 from benlangmuir/darwin-feature-stable
[stable/20190619] [darwin] Set 'darwin' feature to fix tests using UNSUPPORTED/REQUIRES
2 parents 250705a + 256ad7f commit dc6e877

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
@@ -151,6 +151,9 @@ def is_filesystem_case_insensitive():
151151
if platform.system() not in ['Windows']:
152152
config.available_features.add('can-remove-opened-file')
153153

154+
# *-apple-macosx should also be XFAILED when 'darwin' is XFAILED.
155+
if lit.util.isMacOSTriple(config.target_triple):
156+
config.available_features.add('darwin')
154157

155158
def calculate_arch_features(arch_string):
156159
features = []

0 commit comments

Comments
 (0)