Linux portable builds currently do not run tests (#5983)

This commit is contained in:
Justin Goshi 2017-03-09 10:06:22 -10:00 committed by GitHub
parent 663df18046
commit 3a58cac351
2 changed files with 5 additions and 18 deletions

View file

@ -60,7 +60,11 @@ platformList.each { platform ->
Utilities.setMachineAffinity(newJob, osUsedForMachineAffinity, 'latest-or-auto')
Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
Utilities.addMSTestResults(newJob, '**/*.trx')
// Remove this check once tests work for 2.0. Until that time Linux portable tests will fail so we
// don't run the tests and there won't be any .trx file.
if (os != 'Linux') {
Utilities.addMSTestResults(newJob, '**/*.trx')
}
Utilities.addGithubPRTriggerForBranch(newJob, branch, "${os} ${architecture} ${configuration} Build")
}

View file

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<assemblies>
<assembly name="dotnet-nuget.UnitTests.dll" environment="64-bit .NET (unknown version) [collection-per-class, parallel (8 threads)]" test-framework="xUnit.net 2.2.0.3330" run-date="2016-11-11" run-time="11:10:10" total="9" passed="9" failed="0" skipped="0" time="0.423" errors="0">
<errors />
<collection total="9" passed="9" failed="0" skipped="0" name="Test collection for Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" time="0.186">
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;push\&quot;, \&quot;foo.1.0.0.nupkg\&quot;], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.1749716" result="Pass" />
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;push\&quot;, \&quot;foo.1.0.0.nupkg\&quot;, \&quot;-k\&quot;, \&quot;12345678-1234-1234-1234-123456789012\&quot;], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.0014575" result="Pass" />
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;push\&quot;, \&quot;foo.1.0.0.nupkg\&quot;, \&quot;--api-key\&quot;, \&quot;12345678-1234-1234-1234-123456789012\&quot;, \&quot;--source\&quot;, ...], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.000841" result="Pass" />
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;push\&quot;, \&quot;foo.1.0.0.nupkg\&quot;, \&quot;--api-key\&quot;, \&quot;12345678-1234-1234-1234-123456789012\&quot;, \&quot;--source\&quot;, ...], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.0008232" result="Pass" />
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;delete\&quot;, \&quot;foo.1.0.0.nupkg\&quot;], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.0007595" result="Pass" />
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;delete\&quot;, \&quot;foo.1.0.0.nupkg\&quot;, \&quot;--non-interactive\&quot;], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.0048949" result="Pass" />
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;delete\&quot;, \&quot;foo.1.0.0.nupkg\&quot;, \&quot;--api-key\&quot;, \&quot;12345678-1234-1234-1234-123456789012\&quot;, \&quot;--source\&quot;, ...], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.0007998" result="Pass" />
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;locals\&quot;], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.0006186" result="Pass" />
<test name="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand.ItPassesCommandIfSupported(inputArgs: [\&quot;locals\&quot;, \&quot;http-cache\&quot;, \&quot;packages-cache\&quot;, \&quot;global-packages\&quot;, \&quot;temp\&quot;], result: 0)" type="Microsoft.DotNet.Tools.Run.Tests.GivenANuGetCommand" method="ItPassesCommandIfSupported" time="0.0005597" result="Pass" />
</collection>
</assembly>
</assemblies>