Skip to content

Commit

Permalink
Fix slash directions
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jan 1, 2025
1 parent 4446ba8 commit eff28dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/Get-ArtifactsStagingDirectory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Param(
if ($env:BUILD_ARTIFACTSTAGINGDIRECTORY) {
$ArtifactStagingFolder = $env:BUILD_ARTIFACTSTAGINGDIRECTORY
} elseif ($env:RUNNER_TEMP) {
$ArtifactStagingFolder = "$env:RUNNER_TEMP\_artifacts"
$ArtifactStagingFolder = Join-Path $env:RUNNER_TEMP _artifacts
} else {
$ArtifactStagingFolder = [System.IO.Path]::GetFullPath("$PSScriptRoot/../obj/_artifacts")
if ($CleanIfLocal -and (Test-Path $ArtifactStagingFolder)) {
Expand Down
8 changes: 6 additions & 2 deletions tools/dotnet-test-cloud.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,12 @@ 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'"


& $dotnet test $RepoRoot `
--no-build `
-c $Configuration `
Expand All @@ -55,8 +59,8 @@ Write-Host "test logs will be written to '$ArtifactStagingFolder/test_logs'"
--settings "$PSScriptRoot/test.runsettings" `
--blame-hang-timeout 60s `
--blame-crash `
-bl:"$ArtifactStagingFolder/build_logs/test.binlog" `
--diag "$ArtifactStagingFolder/test_logs/diag.log;TraceLevel=info" `
-bl:"$testBinLog" `
--diag "$testDiagLog;TraceLevel=info" `
--logger trx `

$unknownCounter = 0
Expand Down

0 comments on commit eff28dc

Please # to comment.