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

gregor herrmann gregoa at debian.org
Thu Aug 13 15:55:07 UTC 2015


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

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

commit 0ddbe422817d7aafa7f0fc530e7737b28103d737
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Aug 13 17:54:59 2015 +0200

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

diff --git a/debian/patches/no_interactive_tests.patch b/debian/patches/no_interactive_tests.patch
index 4091e85..0c65aad 100644
--- a/debian/patches/no_interactive_tests.patch
+++ b/debian/patches/no_interactive_tests.patch
@@ -9,8 +9,8 @@ Forwarded: not-needed
  # of the test code):
  
 +# Don't ask for a interactive nor internet depending test please
-+if ($ENV{NOINTERNET}) {
-+	print "We don't run other tests NOINTERNET var is defined\n";
++if ($ENV{NO_NETWORK}) {
++	print "We don't run other tests, NO_NETWORK var is defined\n";
 +	print "skipped...\n";
 +	exit 0
 +}
diff --git a/debian/rules b/debian/rules
index 5a9d306..11c0d0a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 	dh $@
 
 override_dh_auto_test:
-	NOINTERNET=1 dh_auto_test
+	NO_NETWORK=1 dh_auto_test
 
 override_dh_installexamples:
 	dh_installexamples

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



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