Skip to content

Commit 0b6ae21

Browse files
committed
Simplify dotnet run
1 parent af191d3 commit 0b6ae21

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

run-tests.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ param(
77
Set-StrictMode -Version Latest
88
$ErrorActionPreference = 'Stop'
99

10-
Push-Location "$PSScriptRoot\tests\Microsoft.DotNet.BuildTools.Prereqs.Docker.Tests"
10+
Push-Location "$PSScriptRoot/tests/Microsoft.DotNet.BuildTools.Prereqs.Docker.Tests"
1111
try {
1212
& "$PSScriptRoot/eng/common/dotnet.ps1" run --project Microsoft.DotNet.BuildTools.Prereqs.Docker.Tests.csproj --report-xunit-trx --results-directory $PSScriptRoot/artifacts/TestResults $OptionalArgs
1313

1414
if ($LASTEXITCODE -ne 0) {
15-
throw "Failed: '$Cmd'"
15+
throw "Failed: dotnet run Microsoft.DotNet.BuildTools.Prereqs.Docker.Tests"
1616
}
1717
}
1818
finally {

0 commit comments

Comments
 (0)