From a013821bf0ee102b5b3ae291b56b1dc5347e713e Mon Sep 17 00:00:00 2001 From: Sergey Karashevich Date: Thu, 15 Nov 2018 22:06:12 +0300 Subject: [PATCH] [gui-test] tune up pre_tests_in_community.gant --- 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 427510490469..6bd8eb8b8063 100644 --- a/build/scripts/pre_tests_in_community.gant +++ b/build/scripts/pre_tests_in_community.gant @@ -1,6 +1,8 @@ // Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -includeTargets << new File("tests_in_community.gant") +File testsInCommunityDefault = new File("tests_in_community.gant") +File originalGantScript = testsInCommunityDefault.exists() ? testsInCommunityDefault : new File("build/scripts/tests_in_community.gant") +includeTargets << originalGantScript includeTool << gant.tools.Execute /**