From 0e0010b04ea17c5d6a9d7ca1eefff5e315c784cb Mon Sep 17 00:00:00 2001 From: Sergey Karashevich Date: Thu, 25 Jan 2018 23:34:55 +0300 Subject: [PATCH] [gui-test] fix home --- build/scripts/pre_tests_in_community.gant | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build/scripts/pre_tests_in_community.gant b/build/scripts/pre_tests_in_community.gant index 1693d5275789..53f096dd9875 100644 --- a/build/scripts/pre_tests_in_community.gant +++ b/build/scripts/pre_tests_in_community.gant @@ -1,3 +1,5 @@ +import org.jetbrains.jps.idea.IdeaProjectLoader + /* * Copyright 2000-2018 JetBrains s.r.o. * @@ -14,7 +16,7 @@ * limitations under the License. */ -includeTargets << new File("$home/build/scripts/tests_in_community.gant") +includeTargets << new File("${IdeaProjectLoader.guessHome(this)}/build/scripts/tests_in_community.gant") includeTool << gant.tools.Execute /**