[ack] 01/03: Use debian/tests/pkg-perl/smoke-skip in debian/rules as well.

gregor herrmann gregoa at debian.org
Fri Dec 1 21:28:48 UTC 2017


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

gregoa pushed a commit to branch master
in repository ack.

commit 28d70d865e2fb73b598a224a86e77e96341cf902
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Dec 1 22:02:37 2017 +0100

    Use debian/tests/pkg-perl/smoke-skip in debian/rules as well.
---
 debian/rules | 79 +++---------------------------------------------------------
 1 file changed, 4 insertions(+), 75 deletions(-)

diff --git a/debian/rules b/debian/rules
index c654f73..5141767 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+SKIP_TESTS=$(shell cat debian/tests/pkg-perl/smoke-skip)
+TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
+
 %:
 	dh $@
 
@@ -8,78 +11,4 @@ override_dh_clean:
 
 # Temporarily only run those tests which require the non-free example text files
 override_dh_auto_test:
-	perl t/runtests.pl "" 1 blib/lib blib/arch \
-	t/00-load.t \
-	t/ack-create-ackrc.t \
-	t/ack-dump.t \
-	t/ack-f.t \
-	t/ack-files-from.t \
-	t/ack-filetypes.t \
-	t/ack-h.t \
-	t/ack-help-types.t \
-	t/ack-help.t \
-	t/ack-i.t \
-	t/ack-ignore-dir.t \
-	t/ack-ignore-file.t \
-	t/ack-invalid-ackrc.t \
-	t/ack-k.t \
-	t/ack-known-types.t \
-	t/ack-n.t \
-	t/ack-named-pipes.t \
-	t/ack-passthru.t \
-	t/ack-removed-options.t \
-	t/ack-s.t \
-	t/ack-show-types.t \
-	t/ack-type-del.t \
-	t/ack-type.t \
-	t/asp-net-ext.t \
-	t/bad-ackrc-opt.t \
-	t/basic.t \
-	t/command-line-files.t \
-	t/config-backwards-compat.t \
-	t/config-finder.t \
-	t/config-loader.t \
-	t/default-filter.t \
-	t/ext-filter.t \
-	t/file-permission.t \
-	t/filetypes.t \
-	t/filter.t \
-	t/firstlinematch-filter.t \
-	t/illegal-regex.t \
-	t/inverted-file-filter.t \
-	t/is-filter.t \
-	t/issue244.t \
-	t/issue276.t \
-	t/issue491.t \
-	t/issue522.t \
-	t/issue562.t \
-	t/issue571.t \
-	t/lib/00-coverage.t \
-	t/lib/Ack.t \
-	t/lib/Collection.t \
-	t/lib/ConfigDefault.t \
-	t/lib/ConfigFinder.t \
-	t/lib/ConfigLoader.t \
-	t/lib/Default.t \
-	t/lib/Extension.t \
-	t/lib/ExtensionGroup.t \
-	t/lib/Filter.t \
-	t/lib/FirstLineMatch.t \
-	t/lib/Inverse.t \
-	t/lib/Is.t \
-	t/lib/IsGroup.t \
-	t/lib/IsPath.t \
-	t/lib/IsPathGroup.t \
-	t/lib/Match.t \
-	t/lib/MatchGroup.t \
-	t/lib/Resource.t \
-	t/lib/Resources.t \
-	t/longopts.t \
-	t/lua-shebang.t \
-	t/match-filter.t \
-	t/noackrc.t \
-	t/noenv.t \
-	t/process-substitution.t \
-	t/r-lang-ext.t \
-	t/resource-iterator.t \
-	t/zero.t
+	dh_auto_test -- TEST_FILES="$(TEST_FILES)"

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



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