Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ set(TEST_MODES
optimize_none_with_implicit_dynamic
optimize_with_implicit_dynamic
only_executable only_non_executable
with_cxx_interop
)
set(TEST_SUBSETS
primary
Expand Down
4 changes: 4 additions & 0 deletions test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,10 @@ elif swift_test_mode == 'only_executable':
config.limit_to_features.add("executable_test")
elif swift_test_mode == 'only_non_executable':
config.available_features.add("nonexecutable_test")
elif swift_test_mode == 'with_cxx_interop':
config.available_features.add("with_cxx_interop")
config.swift_frontend_test_options += ' -enable-experimental-cxx-interop'
config.swift_driver_test_options += ' -Xfrontend -enable-experimental-cxx-interop'
else:
lit_config.fatal("Unknown test mode %r" % swift_test_mode)

Expand Down