summaryrefslogtreecommitdiff
path: root/p/haskell-monad-par
diff options
context:
space:
mode:
authorJoachim Breitner <mail@joachim-breitner.de>2015-06-06 22:50:55 +0300
committerJoachim Breitner <mail@joachim-breitner.de>2015-06-06 22:50:55 +0300
commit2c536c05a81efeec1949720911ecdd13874a18f7 (patch)
treeb1c5e32fa2907c84ee5fe960accda44dfc98f9ef /p/haskell-monad-par
parentc861795d2bfa1b3893f760c2c4d97b68d3af66e7 (diff)
downloadDHG_packages-2c536c05a81efeec1949720911ecdd13874a18f7.tar.gz
haskell-monad-par: Run testsuite only if we have a threaded runtime
Diffstat (limited to 'p/haskell-monad-par')
-rw-r--r--p/haskell-monad-par/debian/changelog6
-rwxr-xr-xp/haskell-monad-par/debian/rules4
2 files changed, 10 insertions, 0 deletions
diff --git a/p/haskell-monad-par/debian/changelog b/p/haskell-monad-par/debian/changelog
index bb263f5cc..907c9f89c 100644
--- a/p/haskell-monad-par/debian/changelog
+++ b/p/haskell-monad-par/debian/changelog
@@ -1,3 +1,9 @@
+haskell-monad-par (0.3.4.7-4) UNRELEASED; urgency=medium
+
+ * Run testsuite only if we have a threaded runtime
+
+ -- Joachim Breitner <nomeata@debian.org> Sat, 06 Jun 2015 21:31:42 +0200
+
haskell-monad-par (0.3.4.7-3) unstable; urgency=medium
* Rebuild due to haskell-devscripts bug affecting the previous
diff --git a/p/haskell-monad-par/debian/rules b/p/haskell-monad-par/debian/rules
index 01f1aaf04..e01dc2265 100755
--- a/p/haskell-monad-par/debian/rules
+++ b/p/haskell-monad-par/debian/rules
@@ -1,6 +1,10 @@
#!/usr/bin/make -f
+ifeq (0,$(shell ghc --info | grep -q 'Support SMP.*YES' ; 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