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:
parent
a33f1a0815
commit
8bbd683f31
3 changed files with 6 additions and 8 deletions
5
Test.hs
5
Test.hs
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue