Extract FIR modularized tests to separate module
This commit is contained in:
committed by
Mikhail Glukhikh
parent
6e3f173567
commit
c98b820968
@@ -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()
|
||||||
@@ -35,6 +35,7 @@ include ":kotlin-build-common",
|
|||||||
":compiler:fir:fir2ir",
|
":compiler:fir:fir2ir",
|
||||||
":compiler:fir:resolve",
|
":compiler:fir:resolve",
|
||||||
":compiler:fir:java",
|
":compiler:fir:java",
|
||||||
|
":compiler:fir:modularized-tests",
|
||||||
":compiler:frontend",
|
":compiler:frontend",
|
||||||
":compiler:frontend.common",
|
":compiler:frontend.common",
|
||||||
":compiler:frontend.java",
|
":compiler:frontend.java",
|
||||||
|
|||||||
Reference in New Issue
Block a user