[Native][tests] Use common test tag "klib" for all KLIB-related tests
This commit is contained in:
committed by
Space Team
parent
76e24e5093
commit
ca00c38fca
@@ -1,5 +1,3 @@
|
|||||||
import org.jetbrains.kotlin.ideaExt.idea
|
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
kotlin("jvm")
|
kotlin("jvm")
|
||||||
id("jps-compatible")
|
id("jps-compatible")
|
||||||
@@ -50,8 +48,7 @@ val partialLinkageTest = nativeTest("partialLinkageTest", "partial-linkage")
|
|||||||
val cinteropTest = nativeTest("cinteropTest", "cinterop")
|
val cinteropTest = nativeTest("cinteropTest", "cinterop")
|
||||||
val debuggerTest = nativeTest("debuggerTest", "debugger")
|
val debuggerTest = nativeTest("debuggerTest", "debugger")
|
||||||
val cachesTest = nativeTest("cachesTest", "caches")
|
val cachesTest = nativeTest("cachesTest", "caches")
|
||||||
val klibContentsTest = nativeTest("klibContentsTest", "klib-contents & !frontend-fir")
|
val klibTest = nativeTest("klibTest", "klib")
|
||||||
val klibContentsK2Test = nativeTest("klibContentsK2Test", "klib-contents & frontend-fir")
|
|
||||||
|
|
||||||
val testTags = findProperty("kotlin.native.tests.tags")?.toString()
|
val testTags = findProperty("kotlin.native.tests.tags")?.toString()
|
||||||
// Note: arbitrary JUnit tag expressions can be used in this property.
|
// Note: arbitrary JUnit tag expressions can be used in this property.
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ import org.jetbrains.kotlin.test.services.JUnit5Assertions.assertEqualsToFile
|
|||||||
import org.junit.jupiter.api.Tag
|
import org.junit.jupiter.api.Tag
|
||||||
import java.io.File
|
import java.io.File
|
||||||
|
|
||||||
@Tag("klib-contents")
|
@Tag("klib")
|
||||||
@UsePartialLinkage(UsePartialLinkage.Mode.DISABLED)
|
@UsePartialLinkage(UsePartialLinkage.Mode.DISABLED)
|
||||||
abstract class AbstractNativeKlibContentsTest : AbstractNativeSimpleTest() {
|
abstract class AbstractNativeKlibContentsTest : AbstractNativeSimpleTest() {
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ import kotlin.math.max
|
|||||||
import org.jetbrains.kotlin.compatibility.binary.TestFile as TFile
|
import org.jetbrains.kotlin.compatibility.binary.TestFile as TFile
|
||||||
import org.jetbrains.kotlin.compatibility.binary.TestModule as TModule
|
import org.jetbrains.kotlin.compatibility.binary.TestModule as TModule
|
||||||
|
|
||||||
@Tag("klib-evolution")
|
@Tag("klib")
|
||||||
@UsePartialLinkage(UsePartialLinkage.Mode.DISABLED)
|
@UsePartialLinkage(UsePartialLinkage.Mode.DISABLED)
|
||||||
abstract class AbstractNativeKlibEvolutionTest : AbstractNativeSimpleTest() {
|
abstract class AbstractNativeKlibEvolutionTest : AbstractNativeSimpleTest() {
|
||||||
// Const evaluation tests muted for FIR because FIR does const propagation.
|
// Const evaluation tests muted for FIR because FIR does const propagation.
|
||||||
|
|||||||
Reference in New Issue
Block a user