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

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

commit 03145074017c57a2977b7e88e2d8fae2a2f4a5c6
Author: gregor herrmann <gre...@debian.org>
Date:   Fri Jul 15 16:28:20 2016 +0200

    Don't run tests which try to connect to the internet.
    
    Thanks: Chris Lamb for the bug report.
    Closes: #830355
---
 debian/rules                     | 6 ++++++
 debian/tests/pkg-perl/smoke-skip | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..c536268 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
 
+SKIP_TESTS=$(shell cat debian/tests/pkg-perl/smoke-skip)
+TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
+
 %:
        dh $@
+
+override_dh_auto_test:
+       http_proxy= dh_auto_test -- TEST_FILES="$(TEST_FILES)"
diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..177db37
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,2 @@
+t/01_basic.t
+t/02_ip_literals.t

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