Skip to content

Commit

Permalink
fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jan 1, 2025
1 parent eff28dc commit 12a4925
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/dotnet-test-cloud.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ if ($x86) {
}
}

$testLogsDir = Join-Path $ArtifactStagingFolder build_logs
$testBinLog = Join-Path $testLogsDir test.binlog
$testDiagLog = Join-Path $testLogsDir diag.log
Write-Host "test logs will be written to '$ArtifactStagingFolder/test_logs'"

$testBinLog = Join-Path $ArtifactStagingFolder build_logs test.binlog
$testDiagLog = Join-Path $ArtifactStagingFolder test_logs diag.log
Write-Host "test logs will be written to '$testDiagLog'"

& $dotnet test $RepoRoot `
--no-build `
Expand All @@ -63,6 +61,8 @@ Write-Host "test logs will be written to '$ArtifactStagingFolder/test_logs'"
--diag "$testDiagLog;TraceLevel=info" `
--logger trx `

Write-Host "Does $testDiagLog exist? $(Test-Path $testDiagLog)"

$unknownCounter = 0
Get-ChildItem -Recurse -Path $RepoRoot\test\*.trx |% {
Write-Host "Found trx at $_"
Expand Down

0 comments on commit 12a4925

Please # to comment.