[Swift Export] Rename tests generation tool
Now it generates test-cases for sir-compiler-bridges as well, so it makes sense to move away from Analysis API in its name.
This commit is contained in:
committed by
Space Team
parent
fe9ab0a1fc
commit
58bef34b9c
@@ -0,0 +1,34 @@
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
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)
|
||||
}
|
||||
|
||||
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 { }
|
||||
}
|
||||
Reference in New Issue
Block a user