clean up concurrent output of tests
Using concurrent-output this is easy. Just have to check if tasty has color enabled, and propagate it into the worker processes, some of which will be run without a controlling console. Also added a call to installSignalHandlers; I noticed that interrupting the test suite could leave the console in a bad state and this fixes that. The ansi-terminal dependency is free, since tasty also depends on it. Sponsored-by: Dartmouth College's Datalad project
This commit is contained in:
parent
ca711f1741
commit
d3b7c6705c
3 changed files with 15 additions and 5 deletions
1
debian/control
vendored
1
debian/control
vendored
|
@ -70,6 +70,7 @@ Build-Depends:
|
|||
libghc-tasty-hunit-dev,
|
||||
libghc-tasty-quickcheck-dev,
|
||||
libghc-tasty-rerun-dev,
|
||||
libghc-ansi-terminal-dev,
|
||||
libghc-optparse-applicative-dev (>= 0.11.0),
|
||||
libghc-torrent-dev,
|
||||
libghc-concurrent-output-dev,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue