This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libpoe-component-resolver-perl.
commit 97de122ce0e71f3eff4be092d3e6737047629c43 Author: gregor herrmann <[email protected]> Date: Thu Aug 13 18:12:48 2015 +0200 change environment variable for disabling network tests Gbp-Dch: Ignore --- debian/patches/disable-internet-tests.patch | 6 +++--- debian/rules | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/debian/patches/disable-internet-tests.patch b/debian/patches/disable-internet-tests.patch index 6f146a1..75ed1bb 100644 --- a/debian/patches/disable-internet-tests.patch +++ b/debian/patches/disable-internet-tests.patch @@ -3,7 +3,7 @@ Description: disable tests requiring networking is no Internet access available on the build system, the package will fail to build from source. . - Thus, we require HAS_INTERNET to be a true value before testing. + Thus, we skip tests if NO_NETWORK is set to a true value. Author: Jonathan Yu <[email protected]> Origin: vendor Forwarded: not-needed @@ -16,8 +16,8 @@ Forwarded: not-needed -use Test::More tests => 4; +use Test::More; + -+unless ($ENV{HAS_INTERNET}) { -+ plan skip_all => 'Set HAS_INTERNET to enable tests requiring Internet'; ++if ($ENV{NO_NETWORK}) { ++ plan skip_all => 'Unset NO_NETWORK to enable tests requiring Internet'; +} + +plan tests => 4; diff --git a/debian/rules b/debian/rules index 2d33f6a..3f91295 100755 --- a/debian/rules +++ b/debian/rules @@ -2,3 +2,6 @@ %: dh $@ + +override_dh_auto_test: + NO_NETWORK=1 dh_auto_test -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpoe-component-resolver-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
