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 30
|
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>
---
Index: b/email-validate.cabal
===================================================================
--- a/email-validate.cabal
+++ b/email-validate.cabal
@@ -21,6 +21,10 @@ source-repository this
location: git://github.com/Porges/email-validate-hs.git
tag: v2.3.2.7
+flag test-doctests
+ description: Enable/Disable the doctest suite
+ default: True
+
library
build-depends:
base >= 4.4 && < 5,
@@ -50,6 +54,8 @@ test-suite Main
test-suite doctests
type: exitcode-stdio-1.0
+ if !flag(test-doctests)
+ buildable: False
ghc-options: -threaded
default-language: Haskell2010
hs-source-dirs: tests
|