This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libfeed-find-perl.
commit 0344031b9747106096e3b66de71332bbc0f99f9c Author: gregor herrmann <[email protected]> Date: Thu Aug 13 17:48:25 2015 +0200 change environment variable for disabling network tests Gbp-Dch: Ignore --- debian/patches/no-network-tests.diff | 4 ++-- debian/rules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/patches/no-network-tests.diff b/debian/patches/no-network-tests.diff index c2f94a9..f47d601 100644 --- a/debian/patches/no-network-tests.diff +++ b/debian/patches/no-network-tests.diff @@ -5,9 +5,9 @@ Subject: Disable tests that require network connection +++ libfeed-find-perl/t/01-find.t @@ -1,3 +1,10 @@ +BEGIN { -+ unless ($ENV{NETWORK_TESTS}) { ++ if ($ENV{NO_NETWORK}) { + require Test::More; -+ Test::More::plan(skip_all => "Set NETWORK_TESTS to enable this test."); ++ Test::More::plan(skip_all => "Unset NO_NETWORK to enable this test."); + } +} + diff --git a/debian/rules b/debian/rules index 49ead8a..27c1d93 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,6 @@ override_dh_auto_test: [ ! -e inc/Spiffy.pm ] || mv inc/Spiffy.pm inc/Spiffy.pm-dontuse [ ! -e inc/Test ] || mv inc/Test inc/Test-dontuse - dh_auto_test + NO_NETWORK=1 dh_auto_test [ ! -e inc/Spiffy.pm-dontuse ] || mv inc/Spiffy.pm-dontuse inc/Spiffy.pm [ ! -e inc/Test-dontuse ] || mv inc/Test-dontuse inc/Test -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfeed-find-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits
