Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Dec 31, 2024
1 parent c6f5fa0 commit b79e0d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/dotnet-test-cloud.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Param(

$RepoRoot = (Resolve-Path "$PSScriptRoot/..").Path
$ArtifactStagingFolder = & "$PSScriptRoot/Get-ArtifactsStagingDirectory.ps1"
Write-Host "ArtifactStagingFolder: $ArtifactStagingFolder"

$dotnet = 'dotnet'
if ($x86) {
Expand All @@ -44,6 +45,8 @@ if ($x86) {
}
}

Write-Host "test logs will be written to '$ArtifactStagingFolder/test_logs'"

& $dotnet test $RepoRoot `
--no-build `
-c $Configuration `
Expand All @@ -58,6 +61,7 @@ if ($x86) {

$unknownCounter = 0
Get-ChildItem -Recurse -Path $RepoRoot\test\*.trx |% {
Write-Host "Found trx at $_"
Copy-Item $_ -Destination $ArtifactStagingFolder/test_logs/

if ($PublishResults) {
Expand Down

0 comments on commit b79e0d8

Please sign in to comment.