spack/share/spack/qa/validate_last_exit.ps1

3 lines
57 B
PowerShell

if ($LASTEXITCODE -ne 0){
throw "Tests have failed"
}