Build: Set dependency on :dist for js.tests project test tasks

This commit is contained in:
Vyacheslav Gerasimov
2018-04-19 20:32:26 +03:00
parent 09a347b2d4
commit 0c6fb77637
+2 -11
View File
@@ -49,17 +49,8 @@ sourceSets {
"test" { projectDefault() }
}
val testDistProjects = listOf(
"", // for root project
":kotlin-stdlib:jvm-minimal-for-test",
":kotlin-compiler",
":kotlin-script-runtime",
":kotlin-stdlib",
":kotlin-daemon-client",
":kotlin-ant")
projectTest {
dependsOn(*testDistProjects.map { "$it:dist" }.toTypedArray())
dependsOn(":dist")
jvmArgs("-da:jdk.nashorn.internal.runtime.RecompilableScriptFunctionData") // Disable assertion which fails due to a bug in nashorn (KT-23637)
workingDir = rootDir
doFirst {
@@ -71,7 +62,7 @@ projectTest {
testsJar {}
projectTest("quickTest") {
dependsOn(*testDistProjects.map { "$it:dist" }.toTypedArray())
dependsOn(":dist")
workingDir = rootDir
systemProperty("kotlin.js.skipMinificationTest", "true")
doFirst {