From 12a4925d08774ae9f8e1525c325ffd1be64632cd Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Tue, 31 Dec 2024 20:14:02 -0700 Subject: [PATCH] fix logging --- tools/dotnet-test-cloud.ps1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/dotnet-test-cloud.ps1 b/tools/dotnet-test-cloud.ps1 index 2699661f..27c0dfd5 100644 --- a/tools/dotnet-test-cloud.ps1 +++ b/tools/dotnet-test-cloud.ps1 @@ -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 ` @@ -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 $_"