Exemplo n.º 1
0
        public ExecuteResult Execute(ExecuteParameters executeParameters)
        {
            string exePath = executeParameters.BuildResult.ArtifactsPaths.ExecutablePath;
            string args    = executeParameters.BenchmarkId.ToArguments();

            if (!File.Exists(exePath))
            {
                return(ExecuteResult.CreateFailed());
            }

            return(Execute(executeParameters.BenchmarkCase, executeParameters.BenchmarkId, executeParameters.Logger, executeParameters.BuildResult.ArtifactsPaths,
                           args, executeParameters.Diagnoser, executeParameters.Resolver, executeParameters.LaunchIndex));
        }