Migrating all test projects (#4668)

* WIP migrate tests

* WIP fixing more tests

* WIP fix test build break

* Test results files are now trx

* Get CI to pass until we get an xunit xml logger

* Added DotNetTestPJ since that was needed for one test

* Fix build break

* Forgot to add DotNetTestPJ as a build task

* Need to restore project.json for the project used in ubuntu test

* Restore PJ for ubuntu test

* Switch the Ubuntu test to csproj based
This commit is contained in:
Justin Goshi 2016-11-11 21:46:29 -10:00 committed by GitHub
parent b2a83e0072
commit 6d57ca7e14
49 changed files with 1769 additions and 95 deletions

View file

@ -12,10 +12,10 @@ namespace Microsoft.DotNet.Cli.Build
protected override string Args
{
get { return $"{Root} {GetSource()} {GetPackages()} {GetSkipInvalidConfigurations()}"; }
get { return $"{GetProjectPath()} {GetSource()} {GetPackages()} {GetSkipInvalidConfigurations()}"; }
}
public string Root { get; set; }
public string ProjectPath { get; set; }
public string Source { get; set; }
@ -43,6 +43,16 @@ namespace Microsoft.DotNet.Cli.Build
return null;
}
private string GetProjectPath()
{
if (!string.IsNullOrEmpty(ProjectPath))
{
return $"{ProjectPath}";
}
return null;
}
private string GetSkipInvalidConfigurations()
{
if (SkipInvalidConfigurations)