guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: ghc-zlib: Enable tests.


From: Arun Isaac
Subject: 01/01: gnu: ghc-zlib: Enable tests.
Date: Tue, 4 Sep 2018 08:02:59 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 906a396bff28ba46b37014a0efc5d4fbf417dc82
Author: Arun Isaac <address@hidden>
Date:   Tue Sep 4 17:26:14 2018 +0530

    gnu: ghc-zlib: Enable tests.
    
    * gnu/packages/haskell.scm (ghc-zlib)[arguments]: Enable tests. Allow 
building
    with newer tasty.
    [native-inputs]: Add ghc-quickcheck, ghc-tasty, ghc-tasty-hunit and
    ghc-tasty-quickcheck.
---
 gnu/packages/haskell.scm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e707263..b8ae263 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2078,9 +2078,13 @@ literals.")
         (base32
          "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d"))))
     (build-system haskell-build-system)
-    ;; Tests require older versions of testy.
-    (arguments `(#:tests? #f))
+    (arguments `(#:configure-flags (list "--allow-newer=tasty")))
     (inputs `(("zlib" ,zlib)))
+    (native-inputs
+     `(("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-hunit" ,ghc-tasty-hunit)
+       ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck)))
     (home-page "https://hackage.haskell.org/package/zlib";)
     (synopsis
      "Compression and decompression in the gzip and zlib formats")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]