relax enough i386ancient deps to allow new tasty

The new ansi-terminal was needed for test concurrency, and the new
concurrent-output fixes several bugs. And it turns out this is all
that's needed to use the new tasty.

Sponsored-by: Kevin Mueller on Patreon
This commit is contained in:
Joey Hess 2022-03-22 10:59:22 -04:00
parent a33f1a0815
commit 8bbd683f31
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 6 additions and 8 deletions

View file

@ -339,12 +339,7 @@ repoTests note numparts = map mk $ sep
]
where
mk l = testGroup groupname (initTests : map adddep l)
#ifdef MIN_VERSION_tasty(1,2)
adddep = Test.Tasty.after AllSucceed (groupname ++ ".Init Tests")
#else
#warning tasty is too old to support limiting or rerunning tests
adddep = id
#endif
groupname = "Repo Tests " ++ note
sep = sep' (replicate numparts [])
sep' (p:ps) (l:ls) = sep' (ps++[l:p]) ls