[ack] 03/03: Skip all tests which require the removed non-free text files

Axel Beckert abe at deuxchevaux.org
Fri Dec 1 20:39:29 UTC 2017


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

abe pushed a commit to branch master
in repository ack.

commit 4cfae741cba582c2fff1fce2789e9daa5fe2f1b9
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Fri Dec 1 21:38:38 2017 +0100

    Skip all tests which require the removed non-free text files
---
 debian/changelog           |  6 +++-
 debian/rules               | 78 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/tests/pkg-perl/SKIP | 23 ++++++++++++++
 3 files changed, 106 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 24529b4..04cc827 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,11 @@
-ack (2.18-3) UNRELEASED; urgency=medium
+ack (2.18+dfsg-1) UNRELEASED; urgency=medium
 
   * Adapt debian/{watch,copyright} to exclude non-free song texts from
     upstream test suite and repack the upstream tarball. (Closes: #883293)
+    + Temporarily override dh_auto_test to only run those test which don't
+      require the non-free text files.
+    + Add file debian/tests/pkg-perl/SKIP which lists all tests which
+      require the non-free text files.
   * Declare compliance with Debian Policy 4.1.2.
     + Change priority of transitional package to optional.
   * Set "Rules-Requires-Root: no".
diff --git a/debian/rules b/debian/rules
index 7bdf8ae..c654f73 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,81 @@
 
 override_dh_clean:
 	dh_clean --exclude=t/swamp/
+
+# 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
diff --git a/debian/tests/pkg-perl/SKIP b/debian/tests/pkg-perl/SKIP
new file mode 100644
index 0000000..ee79cd4
--- /dev/null
+++ b/debian/tests/pkg-perl/SKIP
@@ -0,0 +1,23 @@
+t/ack-1.t
+t/ack-c.t
+t/ack-color.t
+t/ack-column.t
+t/ack-g.t
+t/ack-group.t
+t/ack-interactive.t
+t/ack-line.t
+t/ack-m.t
+t/ack-match.t
+t/ack-o.t
+t/ack-output.t
+t/ack-pager.t
+t/ack-print0.t
+t/ack-v.t
+t/ack-w.t
+t/ack-x.t
+t/anchored.t
+t/context.t
+t/exit-code.t
+t/highlighting.t
+t/incomplete-last-line.t
+t/mutex-options.t

-- 
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