Enable IR in jvm scripting host tests

This commit is contained in:
Ilya Chernikov
2021-01-07 20:34:24 +01:00
parent e9da385f7c
commit bc6c17d4b2
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -734,6 +734,7 @@ tasks {
dependsOn(":kotlin-scripting-common:test")
dependsOn(":kotlin-scripting-jvm:test")
dependsOn(":kotlin-scripting-jvm-host-test:test")
dependsOn(":kotlin-scripting-jvm-host-test:testWithIr")
dependsOn(":kotlin-scripting-dependencies:test")
dependsOn(":kotlin-scripting-dependencies-maven:test")
dependsOn(":kotlin-scripting-jsr223-test:test")
@@ -54,3 +54,9 @@ projectTest(parallel = true) {
// dependsOn(embeddableTestRuntime)
// classpath = embeddableTestRuntime
//}
projectTest(taskName = "testWithIr", parallel = true) {
dependsOn(":dist")
workingDir = rootDir
systemProperty("kotlin.script.base.compiler.arguments", "-Xuse-ir")
}