Skip to content

Commit 43873ad

Browse files
committed
Cxx interop tests require CxxShim
The CxxIntop tests require that CxxShim be created. This module is created with the `libstdcxx-modulemap` target, which is part of the sdk-overlay. If the CxxInterop parts are being tested, then the tests depend on the sdk-overlay.
1 parent 8a146bc commit 43873ad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ function(get_test_dependencies SDK result_var_name)
4343
list(APPEND deps SwiftUnitTests)
4444
endif()
4545

46+
if(SWIFT_BUILD_SDK_OVERLAY OR SWIFT_BUILD_TEST_SUPPORT_MODULES)
47+
list(APPEND deps sdk-overlay)
48+
endif()
49+
4650
set(deps_binaries)
4751

4852
if (SWIFT_INCLUDE_TOOLS)

0 commit comments

Comments
 (0)