[Pkg-haskell-commits] darcs: haskell-monad-par: Run testsuite only if we have a threaded runtime

Joachim Breitner mail at joachim-breitner.de
Sat Jun 6 20:00:11 UTC 2015


Sat Jun  6 19:50:55 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Run testsuite only if we have a threaded runtime

    M ./changelog +6
    M ./rules +6

Sat Jun  6 19:50:55 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Run testsuite only if we have a threaded runtime
diff -rN -u old-haskell-monad-par/changelog new-haskell-monad-par/changelog
--- old-haskell-monad-par/changelog	2015-06-06 20:00:11.193434255 +0000
+++ new-haskell-monad-par/changelog	2015-06-06 20:00:11.197434336 +0000
@@ -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 at 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 -rN -u old-haskell-monad-par/rules new-haskell-monad-par/rules
--- old-haskell-monad-par/rules	2015-06-06 20:00:11.193434255 +0000
+++ new-haskell-monad-par/rules	2015-06-06 20:00:11.197434336 +0000
@@ -1,6 +1,12 @@
 #!/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
+
+




More information about the Pkg-haskell-commits mailing list