[Native][tests] Use common test tag "klib" for all KLIB-related tests

This commit is contained in:
Dmitriy Dolovov
2023-07-27 14:02:40 +02:00
committed by Space Team
parent 76e24e5093
commit ca00c38fca
3 changed files with 3 additions and 6 deletions
+1 -4
View File
@@ -1,5 +1,3 @@
import org.jetbrains.kotlin.ideaExt.idea
plugins {
kotlin("jvm")
id("jps-compatible")
@@ -50,8 +48,7 @@ val partialLinkageTest = nativeTest("partialLinkageTest", "partial-linkage")
val cinteropTest = nativeTest("cinteropTest", "cinterop")
val debuggerTest = nativeTest("debuggerTest", "debugger")
val cachesTest = nativeTest("cachesTest", "caches")
val klibContentsTest = nativeTest("klibContentsTest", "klib-contents & !frontend-fir")
val klibContentsK2Test = nativeTest("klibContentsK2Test", "klib-contents & frontend-fir")
val klibTest = nativeTest("klibTest", "klib")
val testTags = findProperty("kotlin.native.tests.tags")?.toString()
// Note: arbitrary JUnit tag expressions can be used in this property.
@@ -19,7 +19,7 @@ import org.jetbrains.kotlin.test.services.JUnit5Assertions.assertEqualsToFile
import org.junit.jupiter.api.Tag
import java.io.File
@Tag("klib-contents")
@Tag("klib")
@UsePartialLinkage(UsePartialLinkage.Mode.DISABLED)
abstract class AbstractNativeKlibContentsTest : AbstractNativeSimpleTest() {
@@ -32,7 +32,7 @@ import kotlin.math.max
import org.jetbrains.kotlin.compatibility.binary.TestFile as TFile
import org.jetbrains.kotlin.compatibility.binary.TestModule as TModule
@Tag("klib-evolution")
@Tag("klib")
@UsePartialLinkage(UsePartialLinkage.Mode.DISABLED)
abstract class AbstractNativeKlibEvolutionTest : AbstractNativeSimpleTest() {
// Const evaluation tests muted for FIR because FIR does const propagation.