[DHG_packages] 02/02: base64-bytestring: Disable the test suite on architectures without a threaded runtime, due to https://github.com/haskell/cabal/issues/2398

Joachim Breitner nomeata at moszumanska.debian.org
Sat Aug 22 07:48:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to annotated tag haskell-base64-bytestring_v1.0.0.1-5
in repository DHG_packages.

commit e286829e4842b7ad2b5fb495680249679c634e97
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Aug 22 09:45:45 2015 +0200

    base64-bytestring: Disable the test suite on architectures without a threaded runtime, due to https://github.com/haskell/cabal/issues/2398
---
 p/haskell-base64-bytestring/debian/changelog | 7 +++++++
 p/haskell-base64-bytestring/debian/rules     | 5 ++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/p/haskell-base64-bytestring/debian/changelog b/p/haskell-base64-bytestring/debian/changelog
index b550493..11179f7 100644
--- a/p/haskell-base64-bytestring/debian/changelog
+++ b/p/haskell-base64-bytestring/debian/changelog
@@ -1,3 +1,10 @@
+haskell-base64-bytestring (1.0.0.1-5) experimental; urgency=medium
+
+  * Disable the test suite on architectures without a threaded runtime, due to
+    https://github.com/haskell/cabal/issues/2398
+
+ -- Joachim Breitner <nomeata at debian.org>  Sat, 22 Aug 2015 09:45:22 +0200
+
 haskell-base64-bytestring (1.0.0.1-4) experimental; urgency=medium
 
   * Bump standards-version to 3.9.6
diff --git a/p/haskell-base64-bytestring/debian/rules b/p/haskell-base64-bytestring/debian/rules
index 01f1aaf..0226cfc 100755
--- a/p/haskell-base64-bytestring/debian/rules
+++ b/p/haskell-base64-bytestring/debian/rules
@@ -1,6 +1,9 @@
 #!/usr/bin/make -f
 
-DEB_ENABLE_TESTS = yes
+# https://github.com/haskell/cabal/issues/2398
+ifeq (yes,$(shell ghc --info | grep -q 'Support SMP.*YES' && echo yes))
+DEB_ENABLE_TESTS := yes
+endif
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list