Build: Set dependency on :dist for js.tests project test tasks
This commit is contained in:
@@ -49,17 +49,8 @@ sourceSets {
|
|||||||
"test" { projectDefault() }
|
"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 {
|
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)
|
jvmArgs("-da:jdk.nashorn.internal.runtime.RecompilableScriptFunctionData") // Disable assertion which fails due to a bug in nashorn (KT-23637)
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
doFirst {
|
doFirst {
|
||||||
@@ -71,7 +62,7 @@ projectTest {
|
|||||||
testsJar {}
|
testsJar {}
|
||||||
|
|
||||||
projectTest("quickTest") {
|
projectTest("quickTest") {
|
||||||
dependsOn(*testDistProjects.map { "$it:dist" }.toTypedArray())
|
dependsOn(":dist")
|
||||||
workingDir = rootDir
|
workingDir = rootDir
|
||||||
systemProperty("kotlin.js.skipMinificationTest", "true")
|
systemProperty("kotlin.js.skipMinificationTest", "true")
|
||||||
doFirst {
|
doFirst {
|
||||||
|
|||||||
Reference in New Issue
Block a user