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

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

commit f035345de90d5d0a3a5a6cd12e13453b1b75b9a5
Author: gregor herrmann <gre...@debian.org>
Date:   Sat Jul 2 21:19:56 2016 +0200

    Add patch to skip new tests needing network access.
---
 debian/patches/no-network.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series           |  1 +
 debian/rules                    |  3 +++
 3 files changed, 31 insertions(+)

diff --git a/debian/patches/no-network.patch b/debian/patches/no-network.patch
new file mode 100644
index 0000000..27e696e
--- /dev/null
+++ b/debian/patches/no-network.patch
@@ -0,0 +1,27 @@
+Description: skip tests which need network access
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gre...@debian.org>
+Last-Update: 2016-07-02
+
+--- a/t-aggregate/constraints/email.t
++++ b/t-aggregate/constraints/email.t
+@@ -36,6 +36,9 @@
+ 
+ }
+ 
++SKIP: {
++    skip "Unset NO_NETWORK to run this test.", 3 if $ENV{NO_NETWORK};
++
+ {
+ 
+ my $form = HTML::FormFu->new;
+@@ -87,6 +90,8 @@
+ 
+ }
+ 
++} # end SKIP
++
+ {
+ 
+ my $form = HTML::FormFu->new;
diff --git a/debian/patches/series b/debian/patches/series
index e662b42..1a30c7d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 how-to-report-bugs.diff
+no-network.patch
diff --git a/debian/rules b/debian/rules
index 7d7ae4a..1887fc8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,9 @@ MANDIR=$(CURDIR)/debian/libhtml-formfu-perl/usr/share/man/man3
 %:
        dh $@
 
+override_dh_auto_test:
+       NO_NETWORK=1 dh_auto_test
+
 override_dh_auto_install:
        dh_auto_install
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libhtml-formfu-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