File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -825,10 +825,12 @@ if run_vendor == 'apple':
825825 target_options_for_mock_sdk_after = sdk_overlay_dir_opt
826826 target_future_version = ''
827827
828- if 'arm' in run_cpu and swift_test_mode != 'only_non_executable' :
829- raise RuntimeError ('Device tests are currently only supported when '
830- 'the swift_test_mode is "only_non_executable". Current '
831- 'swift_test_mode is {}.' .format (swift_test_mode ))
828+ # Only permit non-executable tests for ARM on Darwin unless you are on macOS
829+ if 'arm' in run_cpu and run_os not in ('macosx' ,):
830+ if swift_test_mode != 'only_non_executable' :
831+ raise RuntimeError ('Device tests are currently only supported when '
832+ 'the swift_test_mode is "only_non_executable". Current '
833+ 'swift_test_mode is {}.' .format (swift_test_mode ))
832834
833835 if 'arm' in run_cpu and not (run_os == 'macosx' or run_os == 'maccatalyst' ):
834836 # iOS/tvOS/watchOS device
You can’t perform that action at this time.
0 commit comments