diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2015-06-06 22:50:55 +0300 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2015-06-06 22:50:55 +0300 |
commit | 2c536c05a81efeec1949720911ecdd13874a18f7 (patch) | |
tree | b1c5e32fa2907c84ee5fe960accda44dfc98f9ef /p/haskell-monad-par | |
parent | c861795d2bfa1b3893f760c2c4d97b68d3af66e7 (diff) | |
download | DHG_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/changelog | 6 | ||||
-rwxr-xr-x | p/haskell-monad-par/debian/rules | 4 |
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 |