[DHG_packages] 01/02: ghc: patch from Helmut Grohne: do not run tests under DEB_BUILD_OPTIONS=nocheck (Closes: #853743)
Clint Adams
clint at moszumanska.debian.org
Sun Jun 25 14:46:07 UTC 2017
This is an automated email from the git hooks/post-receive script.
clint pushed a commit to branch master
in repository DHG_packages.
commit a3ae1d6cc7a2cdbb2ca627422dd37a0d4d1e2d5c
Author: Clint Adams <clint at debian.org>
Date: Sun Jun 25 10:29:18 2017 -0400
ghc: patch from Helmut Grohne: do not run tests under DEB_BUILD_OPTIONS=nocheck (Closes: #853743)
---
p/ghc/debian/changelog | 3 +++
p/ghc/debian/rules | 4 ++++
2 files changed, 7 insertions(+)
diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index 931f35d..bfb6988 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -3,6 +3,9 @@ ghc (8.0.2-3) UNRELEASED; urgency=medium
[ John Paul Adrian Glaubitz ]
* Build with --enable-unregisterised on powerpcspe. closes: #861806.
+ [ Helmut Grohne ]
+ * Do not run tests under DEB_BUILD_OPTIONS=nocheck (Closes: #853743).
+
[ Clint Adams ]
* Conflict with libghc-cabal-dev (<< 1.24.2.1) to avoid wanna-build
confusion.
diff --git a/p/ghc/debian/rules b/p/ghc/debian/rules
index 7de97ba..901b8af 100755
--- a/p/ghc/debian/rules
+++ b/p/ghc/debian/rules
@@ -110,6 +110,9 @@ endif
override_dh_auto_build:
dh_auto_build
+
+override_dh_auto_test:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
# Do some very simple tests that the compiler actually works
rm -rf debian/testghc
mkdir debian/testghc
@@ -124,6 +127,7 @@ override_dh_auto_build:
@printf "====BEGIN GHC INFO OUTPUT====\n"
@inplace/bin/ghc-stage2 --info
@printf "====END GHC INFO OUTPUT====\n"
+endif
FILES = \( -type f -o -type l \)
PROF_FILE = \( -name "*.p_*" -o -name "lib*_p.a" \)
--
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