[libhttp-tiny-perl] 05/06: Make sure we don't run tests that need internet access.

gregor herrmann gregoa at debian.org
Sat Mar 1 22:57:57 UTC 2014


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

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

commit 3c779ccbd3fb8ba2ff566820d0ed4b56ae079e3b
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Mar 1 23:55:59 2014 +0100

    Make sure we don't run tests that need internet access.
    
    Until now they were merely skipped by chance and missing build dependencies.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..dcff4a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
 
+SKIP_TESTS = t/200_live.t t/200_live_local_ip.t t/210_live_ssl.t
+TEST_FILES = $(filter-out $(SKIP_TESTS),$(shell echo t/*.t))
+
 %:
 	dh $@
+
+override_dh_auto_test:
+	dh_auto_test -- TEST_FILES="$(TEST_FILES)"

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



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