[Swift Export] Fix test infrastructure according to the review
This commit is contained in:
committed by
Space Team
parent
c3725ec8c8
commit
ec82d54ef7
@@ -5,30 +5,14 @@ plugins {
|
||||
|
||||
sourceSets {
|
||||
"main" { java.srcDirs("main") }
|
||||
"test" { projectDefault() }
|
||||
}
|
||||
|
||||
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"))
|
||||
testImplementation(libs.junit.jupiter.api)
|
||||
implementation(projectTests(":native:swift:sir-analysis-api"))
|
||||
implementation(projectTests(":native:swift:sir-compiler-bridge"))
|
||||
implementation(projectTests(":generators:test-generator"))
|
||||
runtimeOnly(projectTests(":analysis:analysis-test-framework"))
|
||||
runtimeOnly(libs.junit.jupiter.api)
|
||||
}
|
||||
|
||||
val generateTests by generator("org.jetbrains.kotlin.generators.tests.native.swift.sir.GenerateSirTestsKt")
|
||||
|
||||
testsJar()
|
||||
|
||||
kotlin {
|
||||
compilerOptions {
|
||||
freeCompilerArgs.add("-Xcontext-receivers")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
projectTest(jUnitMode = JUnitMode.JUnit5) {
|
||||
workingDir = rootDir
|
||||
useJUnitPlatform { }
|
||||
}
|
||||
val generateTests by generator("org.jetbrains.kotlin.generators.tests.native.swift.sir.GenerateSirTestsKt")
|
||||
Reference in New Issue
Block a user