Skip to content

Commit 47efc38

Browse files
authored
[lit] Support executable and non-executable tests with C++ Interop (#59216)
In #59120 I did not realize that I was filtering tests that required executable or non-executable features, so many tests were being skipped. This change should recover both sets of tests and it allows us to test C++ interop in a lot more cases. Sadly this raises the number of failing tests with C++ interop to 425.
1 parent 15c0ce3 commit 47efc38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/lit.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -709,6 +709,8 @@ elif swift_test_mode == 'only_executable':
709709
elif swift_test_mode == 'only_non_executable':
710710
config.available_features.add("nonexecutable_test")
711711
elif swift_test_mode == 'with_cxx_interop':
712+
config.available_features.add("nonexecutable_test")
713+
config.available_features.add("executable_test")
712714
config.available_features.add("with_cxx_interop")
713715
config.swift_frontend_test_options += ' -enable-experimental-cxx-interop'
714716
config.swift_driver_test_options += ' -Xfrontend -enable-experimental-cxx-interop'

0 commit comments

Comments
 (0)