[libio-async-perl] 03/05: debian/rules: skip a test which needs a DNS resolver.

gregor herrmann gregoa at debian.org
Mon Dec 21 20:09:52 UTC 2015


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

gregoa pushed a commit to branch master
in repository libio-async-perl.

commit 43a2f5be2cbeb1de77b7c4d6d26b0aa2255e79b5
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Dec 21 20:56:36 2015 +0100

    debian/rules: skip a test which needs a DNS resolver.
---
 debian/rules | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/rules b/debian/rules
index 8d87a19..fb57cef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,15 @@ PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 EXAMPLES= $(TMP)/usr/share/doc/$(PACKAGE)/examples
 
+# Test needs working resolver
+TEST_FILES = $(filter-out t/50resolver.t,$(wildcard t/*.t))
+
 %:
 	dh $@
 
+override_dh_auto_test:
+	dh_auto_test -- --test_files="$(TEST_FILES)"
+
 override_dh_fixperms:
 	dh_fixperms
 	chmod a+x $(EXAMPLES)/*.pl

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



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