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

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

commit caf3a1563c5b400115dc793aa3dbd37c1377be82
Author: gregor herrmann <gre...@debian.org>
Date:   Thu Aug 13 18:20:41 2015 +0200

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

diff --git a/debian/patches/disable-network.patch 
b/debian/patches/disable-network.patch
index 71f6587..4121392 100644
--- a/debian/patches/disable-network.patch
+++ b/debian/patches/disable-network.patch
@@ -11,7 +11,7 @@ Last-Update: 2015-08-11
      '$sender is an instance of SMS::AQL');
  
 +SKIP: {
-+skip "Test requires internet", 1 unless $ENV{USE_NETWORK};
++skip "Test requires internet", 1 if $ENV{NO_NETWORK};
  my $balance = $sender->credit();
  
  ok($balance =~ /^[0-9]+$/, 'got account balance');
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/libsms-aql-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

Reply via email to