[Pkg-haskell-commits] darcs: haskell-equivalence: Enable test suite only if Template Haskell is available.
Joachim Breitner
mail at joachim-breitner.de
Mon Jun 15 08:28:53 UTC 2015
Mon Jun 15 08:04:23 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Enable test suite only if Template Haskell is available.
M ./changelog +6
M ./rules +6
Mon Jun 15 08:04:23 UTC 2015 Joachim Breitner <mail at joachim-breitner.de>
* Enable test suite only if Template Haskell is available.
diff -rN -u old-haskell-equivalence/changelog new-haskell-equivalence/changelog
--- old-haskell-equivalence/changelog 2015-06-15 08:28:53.385671985 +0000
+++ new-haskell-equivalence/changelog 2015-06-15 08:28:53.389671983 +0000
@@ -1,3 +1,9 @@
+haskell-equivalence (0.2.5-4) UNRELEASED; urgency=medium
+
+ * Enable test suite only if Template Haskell is available.
+
+ -- Joachim Breitner <nomeata at debian.org> Mon, 15 Jun 2015 10:04:10 +0200
+
haskell-equivalence (0.2.5-3) unstable; urgency=medium
* Upload to unstable
diff -rN -u old-haskell-equivalence/rules new-haskell-equivalence/rules
--- old-haskell-equivalence/rules 2015-06-15 08:28:53.385671985 +0000
+++ new-haskell-equivalence/rules 2015-06-15 08:28:53.385671985 +0000
@@ -1,6 +1,12 @@
#!/usr/bin/make -f
+# The test suite requires template haskell
+ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
DEB_ENABLE_TESTS = yes
+else
+DEB_ENABLE_TESTS = no
+endif
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/hlibrary.mk
More information about the Pkg-haskell-commits
mailing list