[mapnik-vector-tile] 05/06: Check DEB_BUILD_PROFILES to nocheck in dh_auto_test override.

Bas Couwenberg sebastic at debian.org
Thu Feb 8 15:52:21 UTC 2018


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

sebastic pushed a commit to branch master
in repository mapnik-vector-tile.

commit 0d77c0949112f82bc8f5ec5c1b50d534c6be5af4
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Feb 8 16:35:13 2018 +0100

    Check DEB_BUILD_PROFILES to nocheck in dh_auto_test override.
---
 debian/changelog | 1 +
 debian/rules     | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 569ef3b..46de7da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ mapnik-vector-tile (1.6.0+dfsg-1) UNRELEASED; urgency=medium
   * Team upload.
   * New upstream release.
   * Refresh patches.
+  * Check DEB_BUILD_PROFILES to nocheck in dh_auto_test override.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 08 Feb 2018 16:21:28 +0100
 
diff --git a/debian/rules b/debian/rules
index 7b7b537..0a0fb9b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,8 +23,10 @@ override_dh_auto_build:
 	dh_auto_build -- release_base
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	python debian/create-raster.py
 	dh_auto_test || echo "Ignoring test failures"
+endif
 
 override_dh_installexamples:
 	dh_installexamples

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapnik-vector-tile.git



More information about the Pkg-grass-devel mailing list