summaryrefslogtreecommitdiff
path: root/p/haskell-shake
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-07-04 03:42:36 +0400
committerColin Watson <cjwatson@debian.org>2014-07-04 03:42:36 +0400
commitf16c0da8ec19c2d4ceff65c6ad5eb343361a7bfe (patch)
tree1c6ca112aa66882a6c7a33b3cdb28a4497168bc7 /p/haskell-shake
parent98675019ed5dd49dbfa7b3fd1c7173967cd2ca01 (diff)
downloadDHG_packages-f16c0da8ec19c2d4ceff65c6ad5eb343361a7bfe.tar.gz
haskell-shake: Disable tests on architectures without GHCi; they currently rely on runhaskell.
Diffstat (limited to 'p/haskell-shake')
-rw-r--r--p/haskell-shake/debian/changelog7
-rwxr-xr-xp/haskell-shake/debian/rules2
2 files changed, 8 insertions, 1 deletions
diff --git a/p/haskell-shake/debian/changelog b/p/haskell-shake/debian/changelog
index 2541cd796..2218066eb 100644
--- a/p/haskell-shake/debian/changelog
+++ b/p/haskell-shake/debian/changelog
@@ -1,3 +1,10 @@
+haskell-shake (0.13.2+dfsg-2) UNRELEASED; urgency=medium
+
+ * Disable tests on architectures without GHCi; they currently rely on
+ runhaskell.
+
+ -- Colin Watson <cjwatson@debian.org> Fri, 04 Jul 2014 00:42:17 +0100
+
haskell-shake (0.13.2+dfsg-1) unstable; urgency=low
* Initial release. (Closes: #751785)
diff --git a/p/haskell-shake/debian/rules b/p/haskell-shake/debian/rules
index 07dbbf238..f13e04275 100755
--- a/p/haskell-shake/debian/rules
+++ b/p/haskell-shake/debian/rules
@@ -5,7 +5,7 @@ DEB_UPSTREAM_PACKAGE := shake
DEB_UPSTREAM_REPACKAGE_EXCLUDES := ./html/jquery*.js ./html/viz.js ./js-src/
DEB_UPSTREAM_REPACKAGE_DELIMITER := +
DEB_SETUP_GHC_CONFIGURE_ARGS := --datasubdir=/usr/share/shake
-DEB_ENABLE_TESTS := yes
+DEB_ENABLE_TESTS := $(shell test -e /usr/lib/ghc/bin/ghci && echo yes)
DEB_GHC_EXTRA_PACKAGES := libghc-shake-data (>= $(CABAL_VERSION))
include /usr/share/cdbs/1/rules/debhelper.mk