Skip to content

Commit 520ae6f

Browse files
authored
Merge pull request #18331 from gottesmm/pr-8de515205f5459dafc2140823c3d15ea186269d3
2 parents 3db28e5 + ad408bd commit 520ae6f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/lit.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,12 +638,15 @@ if run_vendor == 'apple':
638638
elif run_os == 'ios' or run_os == 'tvos' or run_os == 'watchos':
639639
# iOS/tvOS/watchOS simulator
640640
if run_os == 'ios':
641+
config.available_features.add('DARWIN_SIMULATOR=ios')
641642
lit_config.note("Testing iOS simulator " + config.variant_triple)
642643
xcrun_sdk_name = "iphonesimulator"
643644
elif run_os == 'watchos':
645+
config.available_features.add('DARWIN_SIMULATOR=watchos')
644646
lit_config.note("Testing watchOS simulator " + config.variant_triple)
645647
xcrun_sdk_name = "watchsimulator"
646648
else:
649+
config.available_features.add('DARWIN_SIMULATOR=tvos')
647650
lit_config.note("Testing AppleTV simulator " + config.variant_triple)
648651
xcrun_sdk_name = "appletvsimulator"
649652

0 commit comments

Comments
 (0)