From 8c6ed3e872864fd0fa6e2182676b230305bdc42c Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Thu, 2 Nov 2017 11:36:18 +0100 Subject: [PATCH] Generate IR tests in GenerateCompilerTests.kt --- .../generators/tests/GenerateCompilerTests.kt | 16 ++++++++++++++++ .../kotlin/generators/tests/GenerateTests.kt | 14 -------------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateCompilerTests.kt b/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateCompilerTests.kt index ef91700697d..ce513229675 100644 --- a/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateCompilerTests.kt +++ b/compiler/tests/org/jetbrains/kotlin/generators/tests/GenerateCompilerTests.kt @@ -29,6 +29,8 @@ import org.jetbrains.kotlin.codegen.* import org.jetbrains.kotlin.codegen.defaultConstructor.AbstractDefaultArgumentsReflectionTest import org.jetbrains.kotlin.codegen.flags.AbstractWriteFlagsTest import org.jetbrains.kotlin.codegen.ir.AbstractIrBlackBoxCodegenTest +import org.jetbrains.kotlin.codegen.ir.AbstractIrBlackBoxInlineCodegenTest +import org.jetbrains.kotlin.codegen.ir.AbstractIrCompileKotlinAgainstInlineKotlinTest import org.jetbrains.kotlin.generators.tests.generator.testGroup import org.jetbrains.kotlin.integration.AbstractAntTaskTest import org.jetbrains.kotlin.ir.AbstractIrCfgTestCase @@ -351,4 +353,18 @@ fun main(args: Array) { model("kdoc/lexer") } } + + testGroup("compiler/tests-ir-jvm/tests", "compiler/testData") { + testClass { + model("codegen/box", targetBackend = TargetBackend.JVM) + } + + testClass { + model("codegen/boxInline") + } + + testClass { + model("codegen/boxInline") + } + } } diff --git a/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt b/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt index 40542229520..4501e54368b 100755 --- a/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt +++ b/generators/src/org/jetbrains/kotlin/generators/tests/GenerateTests.kt @@ -170,20 +170,6 @@ import org.jetbrains.kotlin.test.TargetBackend fun main(args: Array) { System.setProperty("java.awt.headless", "true") - testGroup("compiler/tests-ir-jvm/tests", "compiler/testData") { - testClass { - model("codegen/box", targetBackend = TargetBackend.JVM) - } - - testClass { - model("codegen/boxInline") - } - - testClass { - model("codegen/boxInline") - } - } - testGroup("compiler/tests-java8/tests", "compiler/testData") { testClass("BlackBoxWithJava8CodegenTestGenerated") { model("codegen/java8/box")