[libdist-zilla-plugin-git-perl] 09/10: Skip t/tag-signed.t during build and autopkgest.
gregor herrmann
gregoa at debian.org
Mon Aug 29 20:19:05 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libdist-zilla-plugin-git-perl.
commit 0f404e8f7e35b05289397a3c46c681752cb41ef3
Author: gregor herrmann <gregoa at debian.org>
Date: Mon Aug 29 22:13:33 2016 +0200
Skip t/tag-signed.t during build and autopkgest.
gnupg2 (and a started gpg-agent) in chroots is problematic.
(And make autopkgtest functionable).
---
debian/rules | 6 +++++-
debian/tests/pkg-perl/smoke-env | 2 ++
debian/tests/pkg-perl/smoke-files | 2 ++
debian/tests/pkg-perl/smoke-skip | 3 +++
4 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 6fc8c4f..968b27b 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 $@
@@ -10,4 +13,5 @@ override_dh_clean:
override_dh_auto_test:
GIT_AUTHOR_EMAIL="pkg-perl-maintainers at lists.alioth.debian.org" \
GIT_AUTHOR_NAME="Debian Perl Group" \
- dh_auto_test
+ dh_auto_test -- TEST_FILES="$(TEST_FILES)"
+
diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env
new file mode 100644
index 0000000..ba00141
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-env
@@ -0,0 +1,2 @@
+GIT_AUTHOR_EMAIL="pkg-perl-maintainers at lists.alioth.debian.org"
+GIT_AUTHOR_NAME="Debian Perl Group"
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
new file mode 100644
index 0000000..5b08f09
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-files
@@ -0,0 +1,2 @@
+t/
+corpus/
diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..173c096
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,3 @@
+# with gnupg2 this starts gpg-agent
+# which is not helpful in a temporary chroot
+t/tag-signed.t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-git-perl.git
More information about the Pkg-perl-cvs-commits
mailing list