[DHG_packages] 01/01: hellcheck: 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:33:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to annotated tag shellcheck_v0.3.7-4
in repository DHG_packages.
commit abb2a987d661d671d5aa29a2f9d0fa99047b00f5
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Sat Aug 22 09:24:15 2015 +0200
hellcheck: Disable the test suite on architectures without a threaded runtime, due to https://github.com/haskell/cabal/issues/2398
---
p/shellcheck/debian/changelog | 7 +++++++
p/shellcheck/debian/rules | 8 +++++++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/p/shellcheck/debian/changelog b/p/shellcheck/debian/changelog
index 9eea9dc..928c126 100644
--- a/p/shellcheck/debian/changelog
+++ b/p/shellcheck/debian/changelog
@@ -1,3 +1,10 @@
+shellcheck (0.3.7-4) 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:24:27 +0200
+
shellcheck (0.3.7-3) experimental; urgency=medium
* Add lintian override for spurious rpaths
diff --git a/p/shellcheck/debian/rules b/p/shellcheck/debian/rules
index f4d6826..822383e 100755
--- a/p/shellcheck/debian/rules
+++ b/p/shellcheck/debian/rules
@@ -1,6 +1,12 @@
#!/usr/bin/make -f
-DEB_ENABLE_TESTS = $(shell test -x /usr/bin/ghci && echo yes)
+
+ifeq (yes,$(shell test -e /usr/bin/ghci && echo 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
+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