From 293e5794f0738848f00798407c7574139682032c Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Mon, 16 Jul 2018 16:44:02 +0300 Subject: [PATCH] Allow to skip JS IR tests with gradle property kotlin.compiler.js.ir.tests.skip --- js/js.tests/build.gradle.kts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/js.tests/build.gradle.kts b/js/js.tests/build.gradle.kts index c41b805e8a1..2b8b1faf39e 100644 --- a/js/js.tests/build.gradle.kts +++ b/js/js.tests/build.gradle.kts @@ -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")