From 64785256664a353333470e69d9e3baee956c6347 Mon Sep 17 00:00:00 2001 From: Vladimir Dolzhenko Date: Tue, 9 Jun 2020 09:26:56 +0200 Subject: [PATCH] Fixed GenerateCompilerTestsAgainstKlib.kt compilation Relates to #KTI-17 --- .../tests/GenerateCompilerTestsAgainstKlib.kt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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) + } } } }