@@ -0,0 +1,1411 @@
+package jetbrains.buildServer.autotools.agent;%0A%0Aimport com.google.common.annotations.VisibleForTesting;%0Aimport java.util.regex.Matcher;%0Aimport java.util.regex.Pattern;%0Aimport jetbrains.buildServer.agent.AgentLifeCycleListener;%0Aimport jetbrains.buildServer.agent.ToolProvidersRegistry;%0Aimport jetbrains.buildServer.util.EventDispatcher;%0Aimport org.jetbrains.annotations.NotNull;%0A%0A/**%0A * Created on 14.08.2017.%0A * Author     : Nadezhda Demina%0A */%0Apublic class RuntestToolProvider extends AutotoolsToolProvider %7B%0A%0A  public RuntestToolProvider(@NotNull final ToolProvidersRegistry toolProvidersRegistry, @NotNull final EventDispatcher%3CAgentLifeCycleListener%3E eventDispatcher, @NotNull final String toolName, @NotNull final String versionArg) %7B%0A    super(toolProvidersRegistry, eventDispatcher, toolName, versionArg);%0A  %7D%0A%0A  @NotNull%0A  @VisibleForTesting%0A  @Override%0A  String findVersion(@NotNull final String text) %7B%0A    final Pattern needVersion = Pattern.compile(%22(Dejagnu%7CFramework).+version.+%22 + regVersionNumer);%0A    Matcher matcher = needVersion.matcher(text);%0A    if (!matcher.find())%7B%0A      return %22%22;%0A    %7D%0A    final String versionLine = text.substring(matcher.start(), matcher.end());%0A    final Pattern versionNumberOnly = Pattern.compile(regVersionNumer);%0A    matcher = versionNumberOnly.matcher(versionLine);%0A    return matcher.find() ? versionLine.substring(matcher.start(), matcher.end()) : %22%22;%0A  %7D%0A%7D%0A

add class RuntestToolProvider and set the version of runtest