#!/usr/bin/make -f

%:
	dh $@

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
