[TEST-GEN] Extract run of TestGenerator to top of test generation DSL

This commit is contained in:
Dmitriy Novozhilov
2020-11-09 12:10:00 +03:00
parent 2a73aaba4d
commit 380e8a3814
10 changed files with 47 additions and 32 deletions
@@ -6,13 +6,13 @@
package org.jetbrains.kotlin.generators.tests
import org.jetbrains.kotlin.codegen.ir.AbstractCompileKotlinAgainstKlibTest
import org.jetbrains.kotlin.generators.tests.generator.testGroupSuite
import org.jetbrains.kotlin.generators.tests.generator.generateTestGroupSuite
import org.jetbrains.kotlin.test.TargetBackend
fun main(args: Array<String>) {
System.setProperty("java.awt.headless", "true")
testGroupSuite(args) {
generateTestGroupSuite(args) {
testGroup("compiler/tests-against-klib/tests", "compiler/testData") {
testClass<AbstractCompileKotlinAgainstKlibTest> {
model("codegen/boxKlib", targetBackend = TargetBackend.JVM_IR)