summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2017-08-14 05:10:40 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2017-08-20 16:51:10 -0700
commit48440766dfd7ea381367f8d957372d262719c8e8 (patch)
tree2222ce6218853b07b6886ae238604a0cee1d1256 /pytest.ini
parent05cc6c966f4d340c42b89a74b63b1bd8fe22673d (diff)
downloadspack-48440766dfd7ea381367f8d957372d262719c8e8.tar.gz
spack-48440766dfd7ea381367f8d957372d262719c8e8.tar.bz2
spack-48440766dfd7ea381367f8d957372d262719c8e8.tar.xz
spack-48440766dfd7ea381367f8d957372d262719c8e8.zip
Fix exit call in `SpackError.die()`
- Previously we would use `os._exit()` in to avoid Spack error handling in the parent process when build processes failed. This isn't necessary anymore since build processes propagate their exceptions to the parent process. - Use `sys.exit` instead of `os._exit`. This has the advantage of automatically flushing output streams on quit, so output from child processes is not lost when Spack exits.
Diffstat (limited to 'pytest.ini')
0 files changed, 0 insertions, 0 deletions