[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:
Alexander Shabalin
2024-02-07 20:50:40 +01:00
committed by Space Team
parent 038fe15dd4
commit d92eecb985
2 changed files with 21 additions and 6 deletions
@@ -180,11 +180,10 @@ tasks.named("run") {
dependsOn(tasks.withType(FileCheckTest).matching { it.enabled })
// Add regular gradle test tasks
dependsOn(tasks.withType(Test).matching { it.enabled })
dependsOn(":kotlin-native:Interop:Indexer:check")
dependsOn(":kotlin-native:Interop:StubGenerator:check")
dependsOn(":native:kotlin-native-utils:check")
// TODO(KTI-1571): This task should be run by Compiler Unit Tests (Native) configuration
dependsOn(":nativeCompilerUnitTest")
// TODO(KTI-1571): This should be run by Compiler Tests (Native) configuration
dependsOn(":native:objcexport-header-generator:check")
dependsOn(":kotlin-native:backend.native:check")
}
// Was a subset of tests.