[K/N][tests] Add :nativeCompilerUnitTest and :nativeCompilerTest ^KT-65392
- :nativeCompilerUnitTest are unit tests on K/N compiler. - :nativeCompilerTest are tests using K/N compiler and should be run in many different compilation modes that K/N supports.
This commit is contained in:
committed by
Space Team
parent
038fe15dd4
commit
d92eecb985
+18
-2
@@ -791,8 +791,25 @@ tasks {
|
||||
dependsOn(":wasm:wasm.tests:testFir")
|
||||
}
|
||||
|
||||
// These tests run Native compiler and will be run in many different compilation modes that the compiler supports:
|
||||
// - different optimization modes
|
||||
// - different cache policies
|
||||
// - different GCs
|
||||
// ...
|
||||
register("nativeCompilerTest") {
|
||||
dependsOn(":native:kotlin-native-utils:test")
|
||||
dependsOn(":native:native.tests:test")
|
||||
dependsOn(":native:objcexport-header-generator:check")
|
||||
dependsOn(":kotlin-atomicfu-compiler-plugin:nativeTest")
|
||||
}
|
||||
|
||||
// These are unit tests of Native compiler
|
||||
register("nativeCompilerUnitTest") {
|
||||
dependsOn(":native:kotlin-native-utils:check")
|
||||
if (kotlinBuildProperties.isKotlinNativeEnabled) {
|
||||
dependsOn(":kotlin-native:Interop:Indexer:check")
|
||||
dependsOn(":kotlin-native:Interop:StubGenerator:check")
|
||||
dependsOn(":kotlin-native:backend.native:check")
|
||||
}
|
||||
}
|
||||
|
||||
register("firCompilerTest") {
|
||||
@@ -847,7 +864,6 @@ tasks {
|
||||
dependsOn("gradlePluginTest")
|
||||
dependsOn("toolsTest")
|
||||
dependsOn("examplesTest")
|
||||
dependsOn("nativeCompilerTest")
|
||||
dependsOn("incrementalCompilationTest")
|
||||
dependsOn("scriptingTest")
|
||||
dependsOn("jvmCompilerIntegrationTest")
|
||||
|
||||
Reference in New Issue
Block a user