[JVM] Port Stepping and LocalVariable tests to new test infra.

This is in preparation for enabling the tests for FIR which will
be easier to do when the tests are on the new infrastructure.
This commit is contained in:
Mads Ager
2021-10-14 12:45:38 +02:00
committed by TeamCityServer
parent f1c1094393
commit e9c9d5731e
155 changed files with 1468 additions and 1523 deletions
@@ -12,10 +12,6 @@ import org.jetbrains.kotlin.cfg.AbstractPseudoValueTest
import org.jetbrains.kotlin.checkers.AbstractDiagnosticsTestWithJsStdLibAndBackendCompilation
import org.jetbrains.kotlin.cli.AbstractCliTest
import org.jetbrains.kotlin.codegen.*
import org.jetbrains.kotlin.codegen.debugInformation.AbstractIrLocalVariableTest
import org.jetbrains.kotlin.codegen.debugInformation.AbstractIrSteppingTest
import org.jetbrains.kotlin.codegen.debugInformation.AbstractLocalVariableTest
import org.jetbrains.kotlin.codegen.debugInformation.AbstractSteppingTest
import org.jetbrains.kotlin.codegen.defaultConstructor.AbstractDefaultArgumentsReflectionTest
import org.jetbrains.kotlin.codegen.flags.AbstractWriteFlagsTest
import org.jetbrains.kotlin.codegen.ir.*
@@ -289,14 +285,6 @@ fun generateJUnit3CompilerTests(args: Array<String>) {
model("type/binding")
}
testClass<AbstractSteppingTest>(useJunit4 = true) {
model("debug/stepping", targetBackend = TargetBackend.JVM)
}
testClass<AbstractLocalVariableTest>(useJunit4 = true) {
model("debug/localVariables", targetBackend = TargetBackend.JVM)
}
testClass<AbstractLocalClassProtoTest> {
model("serialization/local")
}
@@ -395,14 +383,6 @@ fun generateJUnit3CompilerTests(args: Array<String>) {
model("loadJava/sourceJava", extension = "java", testMethod = "doTestSourceJava", targetBackend = TargetBackend.JVM_IR)
}
testClass<AbstractIrSteppingTest>(useJunit4 = true) {
model("debug/stepping", targetBackend = TargetBackend.JVM_IR)
}
testClass<AbstractIrLocalVariableTest>(useJunit4 = true) {
model("debug/localVariables", targetBackend = TargetBackend.JVM_IR)
}
testClass<AbstractIrScriptCodegenTest> {
model("codegen/script", extension = "kts", targetBackend = TargetBackend.JVM_IR)
}
@@ -73,6 +73,22 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
model("codegen/box")
}
testClass<AbstractSteppingTest> {
model("debug/stepping")
}
testClass<AbstractIrSteppingTest> {
model("debug/stepping")
}
testClass<AbstractLocalVariableTest> {
model("debug/localVariables")
}
testClass<AbstractIrLocalVariableTest> {
model("debug/localVariables")
}
testClass<AbstractBlackBoxCodegenTest>("BlackBoxModernJdkCodegenTestGenerated") {
model("codegen/boxModernJdk")
}