[Pkg-haskell-commits] darcs: haskell-shake: Disable tests on architectures without GHCi; they currently rely on runhaskell.

Colin Watson cjwatson at debian.org
Thu Jul 3 23:57:31 UTC 2014


Thu Jul  3 23:42:36 UTC 2014  Colin Watson <cjwatson at debian.org>
  * Disable tests on architectures without GHCi; they currently rely on runhaskell.

    M ./changelog +7
    M ./rules -1 +1

Thu Jul  3 23:42:36 UTC 2014  Colin Watson <cjwatson at debian.org>
  * Disable tests on architectures without GHCi; they currently rely on runhaskell.
diff -rN -u old-haskell-shake/changelog new-haskell-shake/changelog
--- old-haskell-shake/changelog	2014-07-03 23:57:31.357748539 +0000
+++ new-haskell-shake/changelog	2014-07-03 23:57:31.365748547 +0000
@@ -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 at 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 -rN -u old-haskell-shake/rules new-haskell-shake/rules
--- old-haskell-shake/rules	2014-07-03 23:57:31.357748539 +0000
+++ new-haskell-shake/rules	2014-07-03 23:57:31.361748543 +0000
@@ -5,7 +5,7 @@
 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




More information about the Pkg-haskell-commits mailing list