K2 Scripting: enable K2 tests in some test projects

This commit is contained in:
Ilya Chernikov
2022-11-17 12:26:00 +01:00
committed by Space Team
parent 90a4f6002e
commit deb2d6d024
7 changed files with 72 additions and 5 deletions
@@ -23,11 +23,17 @@ sourceSets {
projectTest(parallel = true) {
dependsOn(":dist")
workingDir = rootDir
systemProperty("kotlin.script.test.base.compiler.arguments", "-Xuse-old-backend")
systemProperty("kotlin.script.base.compiler.arguments", "-Xuse-old-backend")
}
projectTest(taskName = "testWithIr", parallel = true) {
dependsOn(":dist")
workingDir = rootDir
systemProperty("kotlin.script.test.base.compiler.arguments", "-Xuse-ir")
systemProperty("kotlin.script.base.compiler.arguments", "-Xuse-ir")
}
projectTest(taskName = "testWithK2", parallel = true) {
dependsOn(":dist")
workingDir = rootDir
systemProperty("kotlin.script.base.compiler.arguments", "-Xuse-k2")
}