[DHG_packages] 01/01: web-routes: try enabling testsuite everywhere

Clint Adams clint at moszumanska.debian.org
Wed Dec 16 22:12:43 UTC 2015


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

clint pushed a commit to branch master
in repository DHG_packages.

commit c13f521996b49da71a9a59d89a62349ac2020548
Author: Clint Adams <clint at debian.org>
Date:   Wed Dec 16 17:09:54 2015 -0500

    web-routes: try enabling testsuite everywhere
---
 p/haskell-web-routes/debian/changelog |  6 ++++++
 p/haskell-web-routes/debian/control   | 12 ++++++------
 p/haskell-web-routes/debian/rules     |  6 +++++-
 3 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/p/haskell-web-routes/debian/changelog b/p/haskell-web-routes/debian/changelog
index 328412d..745f5cc 100644
--- a/p/haskell-web-routes/debian/changelog
+++ b/p/haskell-web-routes/debian/changelog
@@ -1,3 +1,9 @@
+haskell-web-routes (0.27.9-7) unstable; urgency=medium
+
+  * Try enabling testsuite everywhere.
+
+ -- Clint Adams <clint at debian.org>  Wed, 16 Dec 2015 17:09:26 -0500
+
 haskell-web-routes (0.27.9-6) unstable; urgency=medium
 
   * Switch Vcs-Git/Vcs-Browser headers to new location.
diff --git a/p/haskell-web-routes/debian/control b/p/haskell-web-routes/debian/control
index 894fa0b..0ff5ce3 100644
--- a/p/haskell-web-routes/debian/control
+++ b/p/haskell-web-routes/debian/control
@@ -31,12 +31,12 @@ Build-Depends: debhelper (>= 9),
  libghc-utf8-string-dev (>= 0.3),
  libghc-utf8-string-dev (<< 1.1),
  libghc-utf8-string-prof,
- libghc-hunit-dev [arm64 hppa powerpc ppc64el s390x sparc any-amd64 any-arm any-i386],
- libghc-quickcheck2-dev [arm64 hppa powerpc ppc64el s390x sparc any-amd64 any-arm any-i386],
- libghc-test-framework-dev [arm64 hppa powerpc ppc64el s390x sparc any-amd64 any-arm any-i386],
- libghc-test-framework-hunit-dev [arm64 hppa powerpc ppc64el s390x sparc any-amd64 any-arm any-i386],
- libghc-test-framework-quickcheck2-dev [arm64 hppa powerpc ppc64el s390x sparc any-amd64 any-arm any-i386],
- libghc-test-framework-th-dev [arm64 hppa powerpc ppc64el s390x sparc any-amd64 any-arm any-i386],
+ libghc-hunit-dev,
+ libghc-quickcheck2-dev,
+ libghc-test-framework-dev,
+ libghc-test-framework-hunit-dev,
+ libghc-test-framework-quickcheck2-dev,
+ libghc-test-framework-th-dev,
 Build-Depends-Indep: ghc-doc,
  libghc-blaze-builder-doc,
  libghc-exceptions-doc,
diff --git a/p/haskell-web-routes/debian/rules b/p/haskell-web-routes/debian/rules
index cacbc71..8e07ea6 100755
--- a/p/haskell-web-routes/debian/rules
+++ b/p/haskell-web-routes/debian/rules
@@ -1,6 +1,10 @@
 #!/usr/bin/make -f
 
-DEB_ENABLE_TESTS = $(shell test -e /usr/bin/ghci && echo yes)
+ifeq (0,$(shell ghc --info | grep 'Have interpreter.*YES' >/dev/null 2>&1; echo $$?))
+	DEB_ENABLE_TESTS = yes
+else
+	DEB_ENABLE_TESTS = no
+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