[Swift Export] KT-63516
Add a sir-compiler-bridge module that adds Kotlin and C bridges for SIR. As SIR is still WIP, the module accepts `BridgeRequest` instances instead of SIR elements.
This commit is contained in:
committed by
Space Team
parent
7c15e3f229
commit
fe9ab0a1fc
@@ -10,6 +10,7 @@ sourceSets {
|
||||
|
||||
dependencies {
|
||||
testApi(projectTests(":native:swift:sir-analysis-api"))
|
||||
testApi(projectTests(":native:swift:sir-compiler-bridge"))
|
||||
testImplementation(projectTests(":generators:test-generator"))
|
||||
|
||||
testRuntimeOnly(projectTests(":analysis:analysis-test-framework"))
|
||||
|
||||
+11
@@ -7,6 +7,7 @@ package org.jetbrains.kotlin.generators.tests.native.swift.sir.analysis.api
|
||||
|
||||
import org.jetbrains.kotlin.generators.generateTestGroupSuiteWithJUnit5
|
||||
import org.jetbrains.kotlin.sir.analysisapi.AbstractKotlinSirContextTest
|
||||
import org.jetbrains.kotlin.sir.bridge.AbstractKotlinSirBridgeTest
|
||||
|
||||
|
||||
fun main() {
|
||||
@@ -22,5 +23,15 @@ fun main() {
|
||||
model("", pattern = "^([^_](.+)).kt$", recursive = false)
|
||||
}
|
||||
}
|
||||
testGroup(
|
||||
"native/swift/sir-compiler-bridge/tests-gen/",
|
||||
"native/swift/sir-compiler-bridge/testData"
|
||||
) {
|
||||
testClass<AbstractKotlinSirBridgeTest>(
|
||||
suiteTestClassName = "SirCompilerBridgeTestGenerated"
|
||||
) {
|
||||
model("", extension = null, recursive = false)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user