File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ set(TEST_MODES
219219 optimize_none_with_implicit_dynamic
220220 optimize_with_implicit_dynamic
221221 only_executable only_non_executable
222+ with_cxx_interop
222223)
223224set (TEST_SUBSETS
224225 primary
Original file line number Diff line number Diff line change @@ -708,6 +708,10 @@ elif swift_test_mode == 'only_executable':
708708 config .limit_to_features .add ("executable_test" )
709709elif swift_test_mode == 'only_non_executable' :
710710 config .available_features .add ("nonexecutable_test" )
711+ elif swift_test_mode == 'with_cxx_interop' :
712+ config .available_features .add ("with_cxx_interop" )
713+ config .swift_frontend_test_options += ' -enable-experimental-cxx-interop'
714+ config .swift_driver_test_options += ' -Xfrontend -enable-experimental-cxx-interop'
711715else :
712716 lit_config .fatal ("Unknown test mode %r" % swift_test_mode )
713717
You can’t perform that action at this time.
0 commit comments