clean up concurrent output of tests
authorJoey Hess <joeyh@joeyh.name>
Wed, 16 Mar 2022 16:37:09 +0000 (12:37 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 16 Mar 2022 16:41:28 +0000 (12:41 -0400)
commitd3b7c6705c87a06d133b10dfff63d8b772695866
tree97c820e88c6f8593813b4f8cd890ba8253cb4711
parentca711f17413b81bd20c67641ff674bb7433da40a
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
Test/Framework.hs
debian/control
git-annex.cabal