[TEST] Invert dependency between :test-generator and :tests-common modules

This is needed to provide ability for declaring new implementations of
  test generators, based on existing infrastructure, which won't add
  dependency on :compiler:tests-common

Also this commit removes implicit dependency on :compiler:tests-common
  from :compiler:tests-common-new
This commit is contained in:
Dmitriy Novozhilov
2020-12-14 13:37:33 +03:00
parent bc7e18fb8a
commit d15c7861b2
27 changed files with 59 additions and 88 deletions
+1
View File
@@ -23,6 +23,7 @@ dependencies {
testCompileOnly(project(":kotlinx-metadata"))
testCompileOnly(project(":kotlinx-metadata-jvm"))
testCompile(commonDep("junit:junit"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(projectTests(":generators:test-generator"))
testRuntime(project(":kotlinx-metadata-jvm", configuration = "runtime"))
@@ -5,7 +5,7 @@
package org.jetbrains.kotlin.kotlinp.test
import org.jetbrains.kotlin.generators.generateTestGroupSuite
import org.jetbrains.kotlin.generators.impl.generateTestGroupSuite
fun main(args: Array<String>) {
System.setProperty("java.awt.headless", "true")