Rewrite ir interpreter's dump tests to box
Box tests will check the correctness of interpreter, meantime by dumped ir we can understand that expression was folded.
This commit is contained in:
+5
-5
@@ -10,7 +10,7 @@ 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.*
|
||||
import org.jetbrains.kotlin.test.runners.ir.AbstractDumpLoweredIrTest
|
||||
import org.jetbrains.kotlin.test.runners.ir.AbstractLoweredIrInterpreterTest
|
||||
import org.jetbrains.kotlin.test.runners.ir.AbstractFir2IrTextTest
|
||||
import org.jetbrains.kotlin.test.runners.ir.AbstractIrTextTest
|
||||
import org.jetbrains.kotlin.test.runners.ir.AbstractLightTreeFir2IrTextTest
|
||||
@@ -118,10 +118,6 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
|
||||
model("ir/irText")
|
||||
}
|
||||
|
||||
testClass<AbstractDumpLoweredIrTest> {
|
||||
model("ir/loweredIr")
|
||||
}
|
||||
|
||||
testClass<AbstractBytecodeTextTest> {
|
||||
model("codegen/bytecodeText")
|
||||
}
|
||||
@@ -247,6 +243,10 @@ fun generateJUnit5CompilerTests(args: Array<String>) {
|
||||
testClass<AbstractFirLocalVariableTest> {
|
||||
model("debug/localVariables")
|
||||
}
|
||||
|
||||
testClass<AbstractLoweredIrInterpreterTest> {
|
||||
model("ir/loweredIr")
|
||||
}
|
||||
}
|
||||
|
||||
testGroup(testsRoot = "compiler/fir/fir2ir/tests-gen", testDataRoot = "compiler/fir/fir2ir/testData") {
|
||||
|
||||
Reference in New Issue
Block a user