diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-05-20 09:55:40 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-05-20 09:58:11 +0100 |
commit | 82038ddfdc1a941a45470e9848f6320bb62faf38 (patch) | |
tree | 0c19347bc0626a1e6bb4102f066c549b5c6223f5 /compiler/GHC/Tc | |
parent | 939a56e780b7cc55cf49b52c4222e0e8061e99b1 (diff) | |
download | haskell-wip/hadrian-testsuite-exit.tar.gz |
hadrian: Reduce verbosity on failed testsuite runwip/hadrian-testsuite-exit
When the testsuite failed before it would print a big exception which
gave you the very long command line which was used to invoke the
testsuite. By capturing the exit code and rethrowing the exception, the
error is must less verbose:
```
Error when running Shake build system:
at want, called at src/Main.hs:104:30 in main:Main
* Depends on: test
* Raised the exception:
user error (tests failed)
```
Diffstat (limited to 'compiler/GHC/Tc')
0 files changed, 0 insertions, 0 deletions