Extract FIR modularized tests to separate module

This commit is contained in:
Simon Ogorodnik
2019-04-11 15:14:52 +03:00
committed by Mikhail Glukhikh
parent 6e3f173567
commit c98b820968
4 changed files with 38 additions and 0 deletions
@@ -0,0 +1,37 @@
/*
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the license/LICENSE.txt file.
*/
plugins {
kotlin("jvm")
id("jps-compatible")
}
dependencies {
testCompileOnly(intellijDep()) { includeJars("openapi", "idea", "idea_rt", "util", "asm-all", rootProject = rootProject) }
testRuntime(intellijDep())
testCompile(commonDep("junit:junit"))
testCompileOnly(project(":kotlin-test:kotlin-test-jvm"))
testCompileOnly(project(":kotlin-test:kotlin-test-junit"))
testCompile(projectTests(":compiler:tests-common"))
testCompileOnly(project(":kotlin-reflect-api"))
testRuntime(project(":kotlin-reflect"))
testCompile(projectTests(":compiler:fir:resolve"))
testCompile(project(":compiler:fir:resolve"))
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
projectTest {
workingDir = rootDir
jvmArgs!!.removeIf { it.contains("-Xmx") }
maxHeapSize = "3g"
}
testsJar()
+1
View File
@@ -35,6 +35,7 @@ include ":kotlin-build-common",
":compiler:fir:fir2ir",
":compiler:fir:resolve",
":compiler:fir:java",
":compiler:fir:modularized-tests",
":compiler:frontend",
":compiler:frontend.common",
":compiler:frontend.java",