[KLIB][tests] Reorganize "klib dump-ir" tests
- Keep the test data under "native/native.tests/testData/klib/" dir - Rename tests from "klib ir" to "klib dump-ir"
This commit is contained in:
committed by
Space Team
parent
a8034b6baa
commit
ec9370c30b
+7
-7
@@ -212,22 +212,22 @@ fun main() {
|
||||
}
|
||||
}
|
||||
|
||||
// Klib ir tests
|
||||
// Dump KLIB IR tests
|
||||
testGroup("native/native.tests/tests-gen", "native/native.tests/testData") {
|
||||
testClass<AbstractNativeKlibIrTest>(
|
||||
suiteTestClassName = "NativeKlibIrTestGenerated",
|
||||
testClass<AbstractNativeKlibDumpIrTest>(
|
||||
suiteTestClassName = "NativeKlibDumpIrTestGenerated",
|
||||
) {
|
||||
model("klibIr", pattern = "^([^_](.+)).kt$", recursive = true)
|
||||
model("klib/dump-ir", pattern = "^([^_](.+)).kt$", recursive = true)
|
||||
}
|
||||
}
|
||||
testGroup("native/native.tests/tests-gen", "native/native.tests/testData") {
|
||||
testClass<AbstractNativeKlibIrTest>(
|
||||
suiteTestClassName = "FirNativeKlibIrTestGenerated",
|
||||
testClass<AbstractNativeKlibDumpIrTest>(
|
||||
suiteTestClassName = "FirNativeKlibDumpIrTestGenerated",
|
||||
annotations = listOf(
|
||||
*frontendFir()
|
||||
)
|
||||
) {
|
||||
model("klibIr", pattern = "^([^_](.+)).kt$", recursive = true)
|
||||
model("klib/dump-ir", pattern = "^([^_](.+)).kt$", recursive = true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ import org.junit.jupiter.api.Tag
|
||||
import java.io.File
|
||||
|
||||
@Tag("klib")
|
||||
abstract class AbstractNativeKlibIrTest : AbstractNativeSimpleTest() {
|
||||
abstract class AbstractNativeKlibDumpIrTest : AbstractNativeSimpleTest() {
|
||||
protected fun runTest(@TestDataFile testPath: String) {
|
||||
val testPathFull = getAbsoluteFile(testPath)
|
||||
muteTestIfNecessary(testPathFull)
|
||||
Reference in New Issue
Block a user