From 9af264d20847e4208f98f107e472ebcadd1d44a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Rodri=CC=81guez=20Troitin=CC=83o?= Date: Wed, 1 Jun 2022 19:02:28 -0700 Subject: [PATCH] [lit] Support executable and non-executable tests with C++ Interop 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. --- test/lit.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lit.cfg b/test/lit.cfg index 1dc66c05869ea..1692d79fcc9af 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -709,6 +709,8 @@ elif swift_test_mode == 'only_executable': elif swift_test_mode == 'only_non_executable': config.available_features.add("nonexecutable_test") elif swift_test_mode == 'with_cxx_interop': + config.available_features.add("nonexecutable_test") + config.available_features.add("executable_test") 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'