[libpoe-perl] 01/01: change environment variable for disabling network tests

gregor herrmann gregoa at debian.org
Thu Aug 13 16:19:00 UTC 2015


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

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

commit 4e0885bc329b5e6fbff57a265a2f0feb02ea2624
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Aug 13 18:18:47 2015 +0200

    change environment variable for disabling network tests
    
    Gbp-Dch: Ignore
---
 debian/patches/honour_no_network_option.patch | 4 ++--
 debian/rules                                  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/patches/honour_no_network_option.patch b/debian/patches/honour_no_network_option.patch
index f9cae65..0e9648a 100644
--- a/debian/patches/honour_no_network_option.patch
+++ b/debian/patches/honour_no_network_option.patch
@@ -25,8 +25,8 @@ Author: Rene Mayorga <rmayorga at debian.org.sv>
  
 -  unless ( $ENV{RELEASE_TESTING} ) {
 -    plan skip_all => 'enable by setting RELEASE_TESTING';
-+  unless ( $ENV{INTERNET_TESTING} ) {
-+    plan skip_all => 'enable by setting INTERNET_TESTING';
++  if ( $ENV{NO_NETWORK} ) {
++    plan skip_all => 'enable by unsetting NO_NETWORK';
    }
  
    foreach my $req (qw(Test::Pod::No404s)) {
diff --git a/debian/rules b/debian/rules
index 0cd6526..6dc4c67 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,4 +13,4 @@ override_dh_auto_configure:
 	dh_auto_configure
 
 override_dh_auto_test:
-	AUTOMATED_TESTING=1 dh_auto_test
+	NO_NETWORK=1 AUTOMATED_TESTING=1 dh_auto_test

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



More information about the Pkg-perl-cvs-commits mailing list