[libschedule-cron-perl] 18/19: Don't run author tests during build and autopkgtest.

gregor herrmann gregoa at debian.org
Thu Jun 29 21:55:34 UTC 2017


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

gregoa pushed a commit to branch master
in repository libschedule-cron-perl.

commit 203524c05f30c46b029690a4f98f63a3d97bfc10
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Jun 29 23:50:33 2017 +0200

    Don't run author tests during build and autopkgtest.
---
 debian/control                   | 3 +--
 debian/rules                     | 6 ++++++
 debian/tests/pkg-perl/smoke-skip | 1 +
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 609c3a6..2820328 100644
--- a/debian/control
+++ b/debian/control
@@ -8,8 +8,7 @@ Build-Depends: debhelper (>= 9),
 Build-Depends-Indep: perl,
                      libtime-modules-perl,
                      libtest-pod-perl,
-                     libtest-pod-coverage-perl,
-                     libtest-kwalitee-perl
+                     libtest-pod-coverage-perl
 Standards-Version: 4.0.0
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libschedule-cron-perl.git
 Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libschedule-cron-perl.git
diff --git a/debian/rules b/debian/rules
index 2d33f6a..10cad4f 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:
+	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..6e03333
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1 @@
+t/kwalitee.t

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



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