File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -535,10 +535,12 @@ if config.variant_sdk != "":
535
535
if platform .system () == 'Darwin' and (run_os == 'macosx' or run_os == 'darwin' ):
536
536
# Disable REPL tests if SDK overlay is not in the resource dir.
537
537
# <rdar://problem/16678410> Adding more libraries with -lfoo to REPL is broken
538
- config .available_features .add ('swift_repl' )
539
- config .available_features .add ('swift_interpreter' )
538
+ if swift_test_mode != 'only_non_executable' :
539
+ config .available_features .add ('swift_repl' )
540
+ config .available_features .add ('swift_interpreter' )
540
541
elif platform .system () == 'Linux' :
541
- config .available_features .add ('swift_interpreter' )
542
+ if swift_test_mode != 'only_non_executable' :
543
+ config .available_features .add ('swift_interpreter' )
542
544
543
545
# swift-remoteast-test requires the ability to compile and run code
544
546
# for the system we compiled the swift-remoteast-test executable on.
You can’t perform that action at this time.
0 commit comments