[libxml-validate-perl] 08/09: Don't run POD tests during build.

gregor herrmann gregoa at debian.org
Tue Aug 8 23:55:30 UTC 2017


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

gregoa pushed a commit to branch master
in repository libxml-validate-perl.

commit c2089419c4bfb7ca91f73da9d57a6a885fdd5d23
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Aug 8 19:42:30 2017 -0400

    Don't run POD tests during build.
    
    Closes: #720666
---
 debian/control | 2 --
 debian/rules   | 5 +++++
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index bb6671b..d91c848 100644
--- a/debian/control
+++ b/debian/control
@@ -6,8 +6,6 @@ Testsuite: autopkgtest-pkg-perl
 Priority: optional
 Build-Depends: debhelper (>= 9),
 Build-Depends-Indep: perl,
-                     libtest-pod-coverage-perl,
-                     libtest-pod-perl,
                      libtest-assertions-perl,
                      liblog-trace-perl,
                      libxml-libxml-perl,
diff --git a/debian/rules b/debian/rules
index 42fe0e4..f369846 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,14 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+TEST_FILES=$(filter-out t/pod.t t/pod_coverage.t,$(wildcard t/*.t))
+
 %:
 	dh $@
 
+override_dh_auto_test:
+	dh_auto_test -- TEST_FILE="$(TEST_FILES)"
+
 override_dh_auto_install:
 	dh_auto_install
 	file-rename 's/\.pl//' $(TMP)/usr/bin/* $(TMP)/usr/share/man/man1/*1p*

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



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