[Pkg-haskell-commits] darcs: haskell-pipes: Only run the testsuite if a threaded runtime is available.

Joachim Breitner mail at joachim-breitner.de
Tue Dec 10 22:56:30 UTC 2013


Tue Dec 10 22:49:48 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Only run the testsuite if a threaded runtime is available.

    M ./changelog +6
    M ./rules -1 +2

Tue Dec 10 22:49:48 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Only run the testsuite if a threaded runtime is available.
diff -rN -u old-haskell-pipes/changelog new-haskell-pipes/changelog
--- old-haskell-pipes/changelog	2013-12-10 22:56:30.597673362 +0000
+++ new-haskell-pipes/changelog	2013-12-10 22:56:30.601673363 +0000
@@ -1,3 +1,9 @@
+haskell-pipes (4.0.1-2) UNRELEASED; urgency=medium
+
+  * Only run the testsuite if a threaded runtime is available.
+
+ -- Joachim Breitner <nomeata at debian.org>  Tue, 10 Dec 2013 22:45:27 +0000
+
 haskell-pipes (4.0.1-1) unstable; urgency=low
 
   * New upstream version.
diff -rN -u old-haskell-pipes/rules new-haskell-pipes/rules
--- old-haskell-pipes/rules	2013-12-10 22:56:30.593673360 +0000
+++ new-haskell-pipes/rules	2013-12-10 22:56:30.597673362 +0000
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
-DEB_ENABLE_TESTS = yes
+# only test this is the threaded runtime is available
+DEB_ENABLE_TESTS = $(shell test -e /usr/lib/ghc-$(GHC_VERSION)/libHSrts_thr.a && echo yes)
 
 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