[Pkg-golang-commits] [golang] 01/01: Respect "nocheck" in DEB_BUILD_OPTIONS while building to skip tests

Tianon Gravi tianon at debian.org
Wed Feb 3 05:56:35 UTC 2016


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

tianon pushed a commit to branch debian-sid
in repository golang.

commit 54b41f24c38ead77ccf5d63506f98f4a6e10d8bf
Author: Tianon Gravi <tianon at debian.org>
Date:   Tue Feb 2 21:55:48 2016 -0800

    Respect "nocheck" in DEB_BUILD_OPTIONS while building to skip tests
---
 debian/changelog | 8 ++++++++
 debian/rules     | 3 +++
 2 files changed, 11 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 19e3a21..39da664 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+golang (2:1.5.3-2) UNRELEASED; urgency=medium
+
+  [ Michael Hudson-Doyle ]
+  * Respect "nocheck" in DEB_BUILD_OPTIONS while building to skip tests
+    (Closes: #807290)
+
+ -- Tianon Gravi <tianon at debian.org>  Tue, 02 Feb 2016 21:54:29 -0800
+
 golang (2:1.5.3-1) unstable; urgency=high
 
   * Update to 1.5.3 upstream release
diff --git a/debian/rules b/debian/rules
index 268db73..ae235c7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,9 @@ RUN_TESTS := true
 ifeq (ppc64, $(DEB_HOST_ARCH_CPU))
 	RUN_TESTS := false
 endif
+ifneq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	RUN_TESTS := false
+endif
 
 %:
 	+dh --parallel $(opt_no_act) $@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git



More information about the pkg-golang-commits mailing list