1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
Description: Replace test.framework with test.tasty for tests since few packages in the former are deprecated
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2022-12-30
--- a/TestAll.hs
+++ b/TestAll.hs
@@ -13,9 +13,9 @@
import Prelude as P
import qualified Test.HUnit as HU
--- import Test.Framework
-import Test.Framework.Providers.HUnit
-import Test.Framework.TH (defaultMainGenerator)
+-- import Test.Tasty
+import Test.Tasty.HUnit
+import Test.Tasty.TH (defaultMainGenerator)
-- Here we compare a tree against the same tree with 18 removed:
-- Or the same tree with one intermediate node removed.
--- a/phybin.cabal
+++ b/phybin.cabal
@@ -136,7 +136,7 @@
vector >= 0.10,
hierarchical-clustering >= 0.4, split >= 0.2
-- Additional depends for test:
- Build-Depends: HUnit, test-framework, test-framework-hunit, test-framework-th
+ Build-Depends: tasty-hunit, tasty-th
GHC-Options: -O2 -funbox-strict-fields -rtsopts -threaded
if flag(hashrf)
|