[Pkg-haskell-commits] darcs: haskell-lens: Disable templates testsuite without ghci
Joachim Breitner
mail at joachim-breitner.de
Sat Jun 20 14:27:00 UTC 2015
Sat Jun 20 14:14:29 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Disable templates testsuite without ghci
M ./changelog +6
A ./patches/flag-test-templates
M ./patches/series +1
M ./rules -1 +1
Sat Jun 20 14:14:29 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Disable templates testsuite without ghci
diff -rN -u old-haskell-lens/changelog new-haskell-lens/changelog
--- old-haskell-lens/changelog 2015-06-20 14:26:59.722608384 +0000
+++ new-haskell-lens/changelog 2015-06-20 14:26:59.742608354 +0000
@@ -1,3 +1,9 @@
+haskell-lens (4.6.0.1-10) UNRELEASED; urgency=medium
+
+ * Disable templates testsuite without ghci
+
+ -- Joachim Breitner <nomeata at debian.org> Sat, 20 Jun 2015 16:13:11 +0200
+
haskell-lens (4.6.0.1-9) unstable; urgency=medium
* Drop dependencies on generic-deriving, doctest and simple-reflect,
diff -rN -u old-haskell-lens/patches/flag-test-templates new-haskell-lens/patches/flag-test-templates
--- old-haskell-lens/patches/flag-test-templates 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-lens/patches/flag-test-templates 2015-06-20 14:26:59.722608384 +0000
@@ -0,0 +1,26 @@
+Index: lens-4.6.0.1/lens.cabal
+===================================================================
+--- lens-4.6.0.1.orig/lens.cabal 2015-06-20 16:11:21.128425436 +0200
++++ lens-4.6.0.1/lens.cabal 2015-06-20 16:12:38.766233282 +0200
+@@ -146,6 +146,11 @@
+ default: True
+ manual: True
+
++-- You can disable the templates test suite with -f-test-templates
++flag test-templates
++ default: True
++ manual: True
++
+ -- You can disable the doctests test suite with -f-test-doctests
+ flag test-doctests
+ default: True
+@@ -336,6 +341,9 @@
+ ghc-options: -Wall -Werror -threaded
+ hs-source-dirs: tests
+
++ if !flag(test-templates)
++ buildable: False
++
+ if flag(dump-splices)
+ ghc-options: -ddump-splices
+
diff -rN -u old-haskell-lens/patches/series new-haskell-lens/patches/series
--- old-haskell-lens/patches/series 2015-06-20 14:26:59.702608410 +0000
+++ new-haskell-lens/patches/series 2015-06-20 14:26:59.726608379 +0000
@@ -1,2 +1,3 @@
fix-doctest-path.hs
fudge-doctest-nonascii.diff
+flag-test-templates
diff -rN -u old-haskell-lens/rules new-haskell-lens/rules
--- old-haskell-lens/rules 2015-06-20 14:26:59.702608410 +0000
+++ new-haskell-lens/rules 2015-06-20 14:26:59.726608379 +0000
@@ -23,6 +23,6 @@
endif
ifeq ($(shell if [ ! -e /usr/bin/ghci ]; then echo 0; fi),0)
- DEB_SETUP_GHC_CONFIGURE_ARGS += -fwithout-th -f-test-hunit -f-test-properties
+ DEB_SETUP_GHC_CONFIGURE_ARGS += -fwithout-th -f-test-hunit -ftest-templates -f-test-properties
endif
More information about the Pkg-haskell-commits
mailing list