Commit 68df207f authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis
Browse files

trifecta: Disable doctests

parent 274bd14a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-trifecta (1.7.1.1-4) unstable; urgency=medium

  * Disable doctests, fails on too many architectures

 -- Ilias Tsitsimpis <iliastsi@debian.org>  Wed, 27 Jun 2018 14:54:35 +0300

haskell-trifecta (1.7.1.1-3) unstable; urgency=medium

  [ Clint Adams ]
+19 −0
Original line number Diff line number Diff line
Description: Disable doctests
  Doctests and Template Haskell are incompatible. The following ghc
  bug seems related:
    https://ghc.haskell.org/trac/ghc/ticket/8025
  Re-enable doctests once this has been fixed.
Author: Ilias Tsitsimpis <iliastsi@debian.org>

Index: b/trifecta.cabal
===================================================================
--- a/trifecta.cabal
+++ b/trifecta.cabal
@@ -89,6 +89,7 @@ library
     build-depends: fail == 4.9.*
 
 test-suite doctests
+  buildable: false
   type:             exitcode-stdio-1.0
   main-is:          doctests.hs
   ghc-options:      -Wall -threaded
+4 −2
Original line number Diff line number Diff line
Index: b/trifecta.cabal
===================================================================
--- a/trifecta.cabal
+++ b/trifecta.cabal
@@ -54,7 +54,7 @@
@@ -54,7 +54,7 @@ library
 
   build-depends:
     ansi-wl-pprint       >= 0.6.6   && < 0.7,
@@ -9,7 +11,7 @@
     array                >= 0.3.0.2 && < 0.6,
     base                 >= 4.4     && < 5,
     blaze-builder        >= 0.3.0.1 && < 0.5,
@@ -96,7 +96,7 @@
@@ -96,7 +96,7 @@ test-suite doctests
   default-language: Haskell2010
   build-depends:
     base,
+1 −0
Original line number Diff line number Diff line
newer-deps
disable-doctests
+1 −6
Original line number Diff line number Diff line
#!/usr/bin/make -f

ifeq (armel,$(DEB_HOST_ARCH))
	# doctests fail on armel due to #839840
	DEB_ENABLE_TESTS = no
else
DEB_ENABLE_TESTS = yes
endif

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk