Handling configuration when the env variable is not set.

This commit is contained in:
Livar Cunha 2016-10-14 12:45:04 -07:00
parent 58bc3b5853
commit 8ad1982013
2 changed files with 6 additions and 6 deletions

View file

@ -92,7 +92,8 @@ namespace Microsoft.DotNet.Tests.EndToEnd
var testAppName = "MSBuildTestAppWithToolInDependencies";
var testInstance = TestAssetsManager
.CreateTestInstance(testAppName);
var configuration = Environment.GetEnvironmentVariable("Configuration") ?? "Debug";
var configuration = "Debug";
var testProjectDirectory = testInstance.TestRoot;
@ -104,7 +105,7 @@ namespace Microsoft.DotNet.Tests.EndToEnd
new Build3Command()
.WithWorkingDirectory(testProjectDirectory)
.Execute()
.Execute($"-c {configuration}")
.Should()
.Pass();