This commit is contained in:
James Newton-King
2017-09-09 23:36:56 +12:00
parent ffe53eb3bf
commit 3a3e360da7
+2 -3
View File
@@ -224,8 +224,7 @@ function NetCliTests($build)
Write-Host "Project path: $projectPath"
Write-Host
exec { dotnet test $projectPath -f $testDir -c Release -l trx --no-restore --no-build | Out-Default }
copy-item -Path "$location\TestResults\*.trx" -Destination $workingDir
exec { dotnet test $projectPath -f $testDir -c Release -l trx -r $workingDir --no-restore --no-build | Out-Default }
}
finally
{
@@ -244,7 +243,7 @@ function NUnitTests($build)
try
{
Set-Location $testRunDir
exec { & $nunitConsolePath\tools\nunit3-console.exe "$testRunDir\Newtonsoft.Json.Tests.dll" --framework=$framework --result=$workingDir\$testDir.xml | Out-Default } "Error running $testDir tests"
exec { & $nunitConsolePath\tools\nunit3-console.exe "$testRunDir\Newtonsoft.Json.Tests.dll" --framework=$framework --result=$workingDir\$testDir.xml --out=$workingDir\$testDir.txt | Out-Default } "Error running $testDir tests"
}
finally
{