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

gregoa pushed a commit to branch master
in repository libpoe-loop-tk-perl.

commit 9cf0d765fab029eb97643266cd69ac8e62a4b4c3
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Feb 16 00:38:27 2018 +0100

    debian/rules: move network check from override_dh_auto_test to 
override_dh_auto_configure
    
    in order to avoid issues with DEB_BUILD_OPTIONS=nocheck.
---
 debian/rules | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8bb151e..0be0e34 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,11 @@
 %:
        dh $@
 
-override_dh_auto_test:
-       perl -MNet::Ping -e '(Net::Ping->new()->ping("127.0.0.1", 1)) ? \
+override_dh_auto_configure:
+       # Run network tests only if localhost is reachable, the perl snippet 
touch
+       # run_network_tests if the loopback interface is available.
+       $(PERL) -MNet::Ping -e '(Net::Ping->new()->ping("127.0.0.1", 1)) ? \
                system("touch run_network_tests") : system("rm -rf 
run_network_tests");'
+
+override_dh_auto_test:
        xvfb-run -a dh_auto_test

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libpoe-loop-tk-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