spack/share/spack/qa/validate_last_exit.ps1
John W. Parent 0e69710f41
Windows: reenable unit tests (#33385)
Unit tests on Windows are supposed to pass for any PR to pass CI.
However, the return code for the unit test command was not being
checked, which meant this check was always passing (effectively
disabled). This PR

* Properly checks the result of the unit tests and fails if the
  unit tests fail
* Fixes (or disables on Windows) a number of tests which have
  "drifted" out of support on Windows since this check was
  effectively disabled
2022-12-09 13:27:46 +00:00

3 lines
No EOL
62 B
PowerShell

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