diff --git a/compiler/tests-against-klib/tests/org/jetbrains/kotlin/generators/tests/GenerateCompilerTestsAgainstKlib.kt b/compiler/tests-against-klib/tests/org/jetbrains/kotlin/generators/tests/GenerateCompilerTestsAgainstKlib.kt index 8170d569a3e..0aa0b6811e3 100644 --- a/compiler/tests-against-klib/tests/org/jetbrains/kotlin/generators/tests/GenerateCompilerTestsAgainstKlib.kt +++ b/compiler/tests-against-klib/tests/org/jetbrains/kotlin/generators/tests/GenerateCompilerTestsAgainstKlib.kt @@ -6,15 +6,17 @@ package org.jetbrains.kotlin.generators.tests import org.jetbrains.kotlin.codegen.ir.AbstractCompileKotlinAgainstKlibTest -import org.jetbrains.kotlin.generators.tests.generator.testGroup +import org.jetbrains.kotlin.generators.tests.generator.testGroupSuite import org.jetbrains.kotlin.test.TargetBackend -fun main() { +fun main(args: Array) { System.setProperty("java.awt.headless", "true") - testGroup("compiler/tests-against-klib/tests", "compiler/testData") { - testClass { - model("codegen/boxKlib", targetBackend = TargetBackend.JVM_IR) + testGroupSuite(args) { + testGroup("compiler/tests-against-klib/tests", "compiler/testData") { + testClass { + model("codegen/boxKlib", targetBackend = TargetBackend.JVM_IR) + } } } }