[Pkg-mongodb-maintainers] [pkg-mongodb] 355/394: d/rules: honour nocheck build option

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 14:00:26 UTC 2016


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

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit 4b86aa1e9c9241f87ef6777f9e91b7750704a8a4
Author: Apollon Oikonomopoulos <apoikos at debian.org>
Date:   Sat Jan 16 01:48:11 2016 +0200

    d/rules: honour nocheck build option
    
    Since we're overriding dh_auto_test, nocheck will not be honoured
    automatically.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 801dde0..418420e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,8 +48,10 @@ override_dh_clean:
 override_dh_auto_build:
 	scons $(DEB_SCONS_BUILD)
 
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
 	scons $(DEB_SCONS_CHECK)
+endif
 
 override_dh_auto_install:
 	scons $(DEB_SCONS_INSTALL)

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



More information about the Pkg-mongodb-maintainers mailing list