Skip to content
Commits on Source (5)
Description: Add test-doctests flag
Add flag to enable/disable the doctest suite. This is needed because doctests
fail on armel because of #839840.
Author: Ilias Tsitsimpis <iliastsi@debian.org>
---
--- a/email-validate.cabal
+++ b/email-validate.cabal
@@ -21,6 +21,10 @@
location: git://github.com/Porges/email-validate-hs.git
tag: v2.3.2.11
+flag test-doctests
+ description: Enable/Disable the doctest suite
+ default: True
+
library
build-depends:
base >= 4.4 && < 5,
@@ -50,6 +54,8 @@
test-suite doctests
type: exitcode-stdio-1.0
+ if !flag(test-doctests)
+ buildable: False
ghc-options: -threaded
default-language: Haskell2010
hs-source-dirs: tests
......@@ -2,10 +2,5 @@
DEB_ENABLE_TESTS = yes
# doctests fail on armel due to #839840
# ifeq (armel,$(DEB_HOST_ARCH))
# DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
# endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
haskell-gloss (1.13.0.1-4) UNRELEASED; urgency=medium
* Re-enable optimizations on unregisterised 64-bit arches, since the
corresponding GHC bug has been fixed.
-- Ilias Tsitsimpis <iliastsi@debian.org> Tue, 24 Sep 2019 18:18:29 +0300
haskell-gloss (1.13.0.1-3) unstable; urgency=medium
* debian/patches/newer-deps:
......
#!/usr/bin/make -f
# Work-around a bug in GHC where it fails to compile gloss
# on 64-bit unregisterised arches.
# https://ghc.haskell.org/trac/ghc/ticket/15853
ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el s390x alpha ia64 riscv64 sparc64))
DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0"
endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
haskell-juicypixels (3.3.3.1-2) UNRELEASED; urgency=medium
* Re-enable optimizations on unregisterised 64-bit arches, since the
corresponding GHC bug has been fixed.
-- Ilias Tsitsimpis <iliastsi@debian.org> Tue, 24 Sep 2019 18:21:57 +0300
haskell-juicypixels (3.3.3.1-1) unstable; urgency=medium
* New upstream version.
......
......@@ -2,12 +2,5 @@
# DEB_ENABLE_TESTS = yes
# Work-around a bug in GHC where it fails to compile juicypixels
# on 64-bit unregisterised arches.
# https://ghc.haskell.org/trac/ghc/ticket/15853
ifneq (,$(filter $(DEB_BUILD_ARCH),mips64el s390x alpha ia64 riscv64 sparc64))
DEB_SETUP_GHC_CONFIGURE_ARGS += --ghc-options="-O0"
endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
haskell-jwt (0.7.2-10) UNRELEASED; urgency=medium
* Re-enable doctests on armel, since #839840 has been fixed
-- Ilias Tsitsimpis <iliastsi@debian.org> Tue, 24 Sep 2019 18:34:57 +0300
haskell-jwt (0.7.2-9) unstable; urgency=medium
* Remove build dependency on libghc-text-dev (provided by ghc-8.4.3)
......
--- a/jwt.cabal
+++ b/jwt.cabal
@@ -28,6 +28,10 @@
type: git
location: https://ssaasen@bitbucket.org/ssaasen/haskell-jwt.git
+flag test-doctests
+ description: enable doctests
+ default: True
+
library
exposed-modules: Web.JWT
other-modules: Data.Text.Extended, Data.ByteString.Extended
@@ -99,6 +103,8 @@
type: exitcode-stdio-1.0
main-is: doctests.hs
ghc-options: -threaded
+ if !flag(test-doctests)
+ buildable: False
build-depends: base < 5 && >= 4.4
, jwt
, doctest >= 0.9.11
......@@ -5,10 +5,5 @@ DEB_ENABLE_TESTS = yes
DEB_CABAL_PACKAGE = jwt
DEB_DEFAULT_COMPILER = ghc
# doctests fail on armel due to #839840
ifeq (armel,$(DEB_HOST_ARCH))
DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
Description: Add test-doctests flag
Add flag to enable/disable the doctest suite. This is needed because doctests
fail on armel because of #839840.
Author: Ilias Tsitsimpis <iliastsi@debian.org>
---
--- a/servant.cabal
+++ b/servant.cabal
@@ -29,6 +29,10 @@
type: git
location: http://github.com/haskell-servant/servant.git
+flag test-doctests
+ description: Enable/Disable the doctest suite
+ default: True
+
custom-setup
setup-depends:
base >= 4 && <5,
@@ -172,7 +176,8 @@
type: exitcode-stdio-1.0
main-is: test/doctests.hs
- buildable: True
+ if !flag(test-doctests)
+ buildable: False
default-language: Haskell2010
ghc-options: -Wall -threaded
if impl(ghc >= 8.2)
......@@ -6,10 +6,5 @@ DEB_DEFAULT_COMPILER = ghc
export LC_ALL=C.UTF-8
# doctests fail on armel due to #839840
# ifeq (armel,$(DEB_HOST_ARCH))
# DEB_SETUP_GHC_CONFIGURE_ARGS += -f-test-doctests
# endif
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk