[Pkg-haskell-commits] darcs: haskell-shake: Disable test suite on powerpc, due to #789458

Joachim Breitner mail at joachim-breitner.de
Sun Jun 21 08:00:26 UTC 2015


Sun Jun 21 07:52:19 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Disable test suite on powerpc, due to #789458

    M ./changelog +6
    M ./rules +8

Sun Jun 21 07:52:19 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Disable test suite on powerpc, due to #789458
diff -rN -u old-haskell-shake/changelog new-haskell-shake/changelog
--- old-haskell-shake/changelog	2015-06-21 08:00:26.310929689 +0000
+++ new-haskell-shake/changelog	2015-06-21 08:00:26.314929689 +0000
@@ -1,3 +1,9 @@
+haskell-shake (0.15.2+dfsg-2) UNRELEASED; urgency=medium
+
+  * Disable test suite on powerpc, due to #789458
+
+ -- Joachim Breitner <nomeata at debian.org>  Sun, 21 Jun 2015 09:47:13 +0200
+
 haskell-shake (0.15.2+dfsg-1) unstable; urgency=medium
 
   * New upstream release
diff -rN -u old-haskell-shake/rules new-haskell-shake/rules
--- old-haskell-shake/rules	2015-06-21 08:00:26.310929689 +0000
+++ new-haskell-shake/rules	2015-06-21 08:00:26.310929689 +0000
@@ -5,7 +5,15 @@
 DEB_UPSTREAM_REPACKAGE_EXCLUDES := ./html/viz.js
 DEB_UPSTREAM_REPACKAGE_DELIMITER := +
 DEB_SETUP_GHC_CONFIGURE_ARGS := --datasubdir=/usr/share/shake
+
+# tests fail on powerpc, due to ghc’s #789458
+DEB_BUILD_ARCH     ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+ifeq (,$(filter $(DEB_BUILD_ARCH),powerpc))
 DEB_ENABLE_TESTS := $(shell test -e /usr/bin/ghci && echo yes)
+else
+DEB_ENABLE_TESTS := no
+endif
+
 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