From b337b9ea8d3cfb0d2292527cb5d768799099ef95 Mon Sep 17 00:00:00 2001 From: Mikhael Bogdanov Date: Tue, 20 Feb 2018 18:01:06 +0100 Subject: [PATCH] Specify idea.home.path for java 8 tests Default discovery mechanism points to wrong location --- compiler/tests-java8/build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/tests-java8/build.gradle.kts b/compiler/tests-java8/build.gradle.kts index 54598438356..acce4ecdc42 100644 --- a/compiler/tests-java8/build.gradle.kts +++ b/compiler/tests-java8/build.gradle.kts @@ -28,6 +28,7 @@ projectTest { dependsOn(":dist") workingDir = rootDir systemProperty("kotlin.test.script.classpath", the().sourceSets.getByName("test").output.classesDirs.joinToString(File.pathSeparator)) + systemProperty("idea.home.path", intellijRootDir().canonicalPath) } val generateTests by generator("org.jetbrains.kotlin.generators.tests.GenerateJava8TestsKt")