Revert "Add performance tests"

This commit is contained in:
Piotr Puszkiewicz 2016-04-29 16:35:27 -07:00
parent 2a49edbb6e
commit ce3eed0306
33 changed files with 4 additions and 729 deletions

View file

@ -29,7 +29,6 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
private readonly bool _noIncremental;
private readonly bool _noDependencies;
private readonly string _runtime;
private readonly bool _verbose;
private string OutputOption
{
@ -200,14 +199,6 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
}
}
private string Verbose
{
get
{
return _verbose ? "--verbose" : "";
}
}
public BuildCommand(
string projectPath,
string output="",
@ -226,8 +217,7 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
string cppCompilerFlags="",
bool buildProfile=true,
bool noIncremental=false,
bool noDependencies=false,
bool verbose=true)
bool noDependencies=false)
: base("dotnet")
{
_projectPath = projectPath;
@ -250,18 +240,17 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
_buildProfile = buildProfile;
_noIncremental = noIncremental;
_noDependencies = noDependencies;
_verbose = verbose;
}
public override CommandResult Execute(string args = "")
{
args = $"{Verbose} build {BuildArgs()} {args}";
args = $"--verbose build {BuildArgs()} {args}";
return base.Execute(args);
}
public override CommandResult ExecuteWithCapturedOutput(string args = "")
{
args = $"{Verbose} build {BuildArgs()} {args}";
args = $"--verbose build {BuildArgs()} {args}";
return base.ExecuteWithCapturedOutput(args);
}