[Test] Migrate AbstractBlackBoxCodegenTest to new infrastructure
This commit is contained in:
committed by
TeamCityServer
parent
f01122d8dc
commit
85c87f7df9
-4
@@ -94,10 +94,6 @@ fun generateJUnit3CompilerTests(args: Array<String>) {
|
||||
model("parseCodeFragment/block", testMethod = "doBlockCodeFragmentParsingTest", extension = "kt")
|
||||
}
|
||||
|
||||
testClass<AbstractBlackBoxCodegenTest> {
|
||||
model("codegen/box", targetBackend = TargetBackend.JVM)
|
||||
}
|
||||
|
||||
testClass<AbstractLightAnalysisModeTest> {
|
||||
// "ranges/stepped" is excluded because it contains hundreds of generated tests and only have a box() method.
|
||||
// There isn't much to be gained from running light analysis tests on them.
|
||||
|
||||
+5
@@ -8,6 +8,7 @@ package org.jetbrains.kotlin.test.generators
|
||||
import org.jetbrains.kotlin.generators.util.TestGeneratorUtil
|
||||
import org.jetbrains.kotlin.test.TargetBackend
|
||||
import org.jetbrains.kotlin.test.runners.*
|
||||
import org.jetbrains.kotlin.test.runners.codegen.AbstractBlackBoxCodegenTest
|
||||
|
||||
fun generateJUnit5CompilerTests(args: Array<String>) {
|
||||
val excludedFirTestdataPattern = "^(.+)\\.fir\\.kts?\$"
|
||||
@@ -53,6 +54,10 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
|
||||
model("foreignAnnotations/tests")
|
||||
model("foreignAnnotations/java8Tests", excludeDirs = listOf("jspecify", "typeEnhancementOnCompiledJava"))
|
||||
}
|
||||
|
||||
testClass<AbstractBlackBoxCodegenTest> {
|
||||
model("codegen/box")
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------- FIR tests ----------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user