[libmail-gnupg-perl] 01/02: Skip test t/agent.t during build and autopkgtest.

gregor herrmann gregoa at debian.org
Mon Sep 19 14:46:35 UTC 2016


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

gregoa pushed a commit to branch master
in repository libmail-gnupg-perl.

commit dcc777fcd04775eba8cc29fe7186ba5b1329688b
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Sep 19 16:42:48 2016 +0200

    Skip test t/agent.t during build and autopkgtest.
    
    The test is known to be fragile, and now a real life failure has appeared.
    
    Thanks: Santiago Vila for the bug report.
    Closes: #838273
---
 debian/rules                     | 5 ++++-
 debian/tests/pkg-perl/smoke-skip | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a872481..f204fbd 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,4 +11,4 @@
 # this can be dropped:
 override_dh_auto_test:
 	chmod a+x t/fake-pinentry.pl
-	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..ba0f3e3
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1 @@
+t/agent.t

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



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