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

gregoa pushed a commit to branch master
in repository libmongodb-perl.

commit 23354547648a4a15d5baea523279de966f37ddea
Author: gregor herrmann <gre...@debian.org>
Date:   Sun Jun 22 01:02:34 2014 +0200

    debian/rules: wrap override_dh_auto_test in check for nocheck in 
DEB_BUILD_OPTIONS.
    
    dh_auto_test honours DEB_BUILD_OPTIONS already, but we're manually starting
    and tearing down a mongod instance which is not necessary if we don't run
    the tests.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 5b479be..92801a9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,7 @@ MONGOD = localhost:$(PORT)
        dh $@
 
 override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
        mkdir -p $(BUILDHOME)
        # mongod is required during build only on i386 amd64
        # "until netstat" command wait for mongod to be listening on PORT
@@ -23,6 +24,7 @@ override_dh_auto_test:
        dh_auto_test
        # The server process might not have actually started
        [ ! -s $(PIDFILE) ] || /bin/kill `cat $(PIDFILE)` || true
+endif
 
 override_dh_clean:
        dh_clean

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to