[ObjCExport] Run new ObjCExport tests as native tests on CI

^KT-64839 Fixed
This commit is contained in:
Sebastian Sellmair
2024-01-10 08:26:26 +01:00
committed by Space Team
parent 809b278a7b
commit 9c3de4332f
4 changed files with 5 additions and 4 deletions
@@ -188,6 +188,7 @@ tasks.named("run") {
dependsOn(":kotlin-native:Interop:Indexer:check")
dependsOn(":kotlin-native:Interop:StubGenerator:check")
dependsOn(":native:kotlin-native-utils:check")
dependsOn(":native:objcexport-header-generator:check")
dependsOn(":kotlin-native:backend.native:check")
}
@@ -45,13 +45,13 @@ tasks.test.configure {
enabled = false
}
nativeTest("testK1", tag = null) {
nativeTest("testK1", tag = null, requirePlatformLibs = true) {
useJUnitPlatform()
enableJunit5ExtensionsAutodetection()
classpath += k1TestRuntimeClasspath
}
nativeTest("testAnalysisApi", tag = null) {
nativeTest("testAnalysisApi", tag = null, requirePlatformLibs = true) {
useJUnitPlatform()
enableJunit5ExtensionsAutodetection()
testClassesDirs += files(sourceSets.test.map { it.output.classesDirs })
@@ -27,7 +27,7 @@ sourceSets {
testsJar()
nativeTest("test", tag = null) {
nativeTest("test", tag = null, requirePlatformLibs = true) {
useJUnitPlatform()
enableJunit5ExtensionsAutodetection()
}
@@ -25,7 +25,7 @@ kotlin {
testsJar()
nativeTest("test", tag = null) {
nativeTest("test", tag = null, requirePlatformLibs = true) {
useJUnitPlatform()
enableJunit5ExtensionsAutodetection()
}