diff --git a/build/scripts/common_tests.gant b/build/scripts/common_tests.gant index 5d91366077cf..855ba9bc7e9e 100644 --- a/build/scripts/common_tests.gant +++ b/build/scripts/common_tests.gant @@ -1,5 +1,5 @@ /* - * Copyright 2000-2015 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -29,6 +29,12 @@ target(compile: "Compile project") { loadProject() prepareOutputFolder() + if (System.getProperty("tests.only")) { + ant.delete(dir: "$home/out") + ant.unzip(src: "$home/out.zip", dest: "$home/out") + return + } + if (!isDefined("avoid.project.rebuild")) { clearBuildCaches() projectBuilder.cleanOutput()