Skip to content

Commit

Permalink
Update jenkins_win.ps1 to show exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
borrrden authored and snej committed Feb 3, 2025
1 parent 367b24f commit 234b52e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jenkins/jenkins_win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ try {
Set-Location LiteCore\tests\Debug
.\CppTests -r list
if($LASTEXITCODE -ne 0) {
Write-Host "C++ tests failed!" -ForegroundColor Red
Write-Host "C++ tests failed (exit code: $LASTEXITCODE)!" -ForegroundColor Red
exit 1
}

# TEMP: Using `list` not `quiet` due to Catch2 deadlock
Set-Location ..\..\..\C\tests\Debug
.\C4Tests -r list
if($LASTEXITCODE -ne 0) {
Write-Host "C tests failed!" -ForegroundColor Red
Write-Host "C tests failed (exit code: $LASTEXITCODE)!" -ForegroundColor Red
exit 1
}
} finally {
Expand Down

0 comments on commit 234b52e

Please sign in to comment.