Allow to skip JS IR tests with gradle property kotlin.compiler.js.ir.tests.skip

This commit is contained in:
Ilya Gorbunov
2018-07-16 16:44:02 +03:00
parent c210d3d10a
commit 293e5794f0
+3
View File
@@ -53,6 +53,9 @@ projectTest {
dependsOn(":dist")
jvmArgs("-da:jdk.nashorn.internal.runtime.RecompilableScriptFunctionData") // Disable assertion which fails due to a bug in nashorn (KT-23637)
workingDir = rootDir
if (findProperty("kotlin.compiler.js.ir.tests.skip")?.toString()?.toBoolean() == true) {
exclude("org/jetbrains/kotlin/js/test/semantics/Ir*")
}
doFirst {
systemProperty("kotlin.ant.classpath", antLauncherJar.asPath)
systemProperty("kotlin.ant.launcher.class", "org.apache.tools.ant.Main")