File tree 2 files changed +5
-0
lines changed 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -219,6 +219,7 @@ set(TEST_MODES
219
219
optimize_none_with_implicit_dynamic
220
220
optimize_with_implicit_dynamic
221
221
only_executable only_non_executable
222
+ with_cxx_interop
222
223
)
223
224
set (TEST_SUBSETS
224
225
primary
Original file line number Diff line number Diff line change @@ -708,6 +708,10 @@ elif swift_test_mode == 'only_executable':
708
708
config .limit_to_features .add ("executable_test" )
709
709
elif swift_test_mode == 'only_non_executable' :
710
710
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'
711
715
else :
712
716
lit_config .fatal ("Unknown test mode %r" % swift_test_mode )
713
717
You can’t perform that action at this time.
0 commit comments