This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libwww-bugzilla-perl.
commit 9aad3ad5960d4270e897d6288d27d6162c20d66b Author: gregor herrmann <gre...@debian.org> Date: Thu Aug 13 18:23:27 2015 +0200 change environment variable for disabling network tests Gbp-Dch: Ignore --- debian/patches/01_disable_network_tests.diff | 13 +++++-------- debian/rules | 9 ++++++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/debian/patches/01_disable_network_tests.diff b/debian/patches/01_disable_network_tests.diff index a77b20e..874af6b 100644 --- a/debian/patches/01_disable_network_tests.diff +++ b/debian/patches/01_disable_network_tests.diff @@ -1,18 +1,15 @@ Description: disable tests requiring Internet - This disables tests requiring Internet. It was inspired by - previous work by Bart Martens, including a patch to accomplish - something similar. Author: Jonathan Yu <jaw...@cpan.org> Origin: vendor -Forwarded: no +Forwarded: not-needed --- a/t/search.t +++ b/t/search.t @@ -9,6 +9,10 @@ my $email = 'b...@shmoo.com'; my $password = 'pileofcrap'; -+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'; +} + verify_host($server); @@ -24,8 +21,8 @@ Forwarded: no my $server = 'landfill.bugzilla.org/bugzilla-3.4-branch'; -+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'; +} + verify_host($server); diff --git a/debian/rules b/debian/rules index 26b970a..7068eee 100755 --- a/debian/rules +++ b/debian/rules @@ -3,11 +3,14 @@ %: dh $@ --with quilt +override_dh_clean: + [ ! -d $(CURDIR)/lib ] || $(RM) -rv $(CURDIR)/lib + dh_clean + override_dh_auto_configure: mkdir -p $(CURDIR)/lib cp -r $(CURDIR)/WWW $(CURDIR)/lib dh_auto_configure -override_dh_clean: - [ ! -d $(CURDIR)/lib ] || $(RM) -rv $(CURDIR)/lib - dh_clean +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/libwww-bugzilla-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