Skip to content

Commit 9902fbe

Browse files
committed
testing: Don't run swift_interpreter and swift_repl tests in only_non_executable mode
1 parent 36496ae commit 9902fbe

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

test/lit.cfg

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,12 @@ if config.variant_sdk != "":
535535
if platform.system() == 'Darwin' and (run_os == 'macosx' or run_os == 'darwin'):
536536
# Disable REPL tests if SDK overlay is not in the resource dir.
537537
# <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')
540541
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')
542544

543545
# swift-remoteast-test requires the ability to compile and run code
544546
# for the system we compiled the swift-remoteast-test executable on.

0 commit comments

Comments
 (0)