Skip to content

Commit c654ada

Browse files
authored
Merge pull request #61174 from etcwilde/ewilde/cxx-interop-tests
Fixing Cxx Interop Tests
2 parents 8743107 + b0180c3 commit c654ada

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-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)

test/Interop/Cxx/class/constructors-copy-irgen.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %swift -module-name Swift -target armv7-none-linux-androideabi -dump-clang-diagnostics -I %S/Inputs -enable-experimental-cxx-interop -emit-ir %s -parse-stdlib -parse-as-library -disable-legacy-type-info | %FileCheck %s -check-prefix=ITANIUM_ARM
55
// RUN: %swift -module-name Swift -target x86_64-unknown-windows-msvc -dump-clang-diagnostics -I %S/Inputs -enable-experimental-cxx-interop -emit-ir %s -parse-stdlib -parse-as-library -disable-legacy-type-info | %FileCheck %s -check-prefix=MICROSOFT_X64
66

7+
// REQUIRES: CODEGENERATOR=X86
8+
// REQUIRES: CODEGENERATOR=ARM
9+
710
import Constructors
811
import TypeClassification
912

test/Interop/Cxx/class/constructors-irgen.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// RUN: %swift -module-name Swift -target armv7-unknown-linux-androideabi -dump-clang-diagnostics -I %S/Inputs -enable-experimental-cxx-interop -emit-ir %s -parse-stdlib -parse-as-library -disable-legacy-type-info | %FileCheck %s -check-prefix=ITANIUM_ARM
55
// RUN: %swift -module-name Swift -target x86_64-unknown-windows-msvc -dump-clang-diagnostics -I %S/Inputs -enable-experimental-cxx-interop -emit-ir %s -parse-stdlib -parse-as-library -disable-legacy-type-info | %FileCheck %s -check-prefix=MICROSOFT_X64
66

7+
// REQUIRES: CODEGENERATOR=X86
8+
// REQUIRES: CODEGENERATOR=ARM
9+
710
import Constructors
811
import TypeClassification
912

0 commit comments

Comments
 (0)