[libparanoid-perl] 01/02: Skip t/50_process.t during build and autopkgtest.

gregor herrmann gregoa at debian.org
Thu Dec 15 20:33:35 UTC 2016


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

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

commit 84a79e3d51baedf80e6b5c8c43f35f3dd2781de6
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Dec 15 21:31:01 2016 +0100

    Skip t/50_process.t during build and autopkgtest.
    
    Closes: #848266
---
 debian/rules                     | 6 ++++++
 debian/tests/pkg-perl/smoke-skip | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..d2b8f41 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,10 @@
 #!/usr/bin/make -f
 
+SKIP_TESTS = $(shell cat debian/tests/pkg-perl/smoke-skip)
+TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
+
 %:
 	dh $@
+
+override_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
index 4da8f8c..3624c51 100644
--- a/debian/tests/pkg-perl/smoke-skip
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -1,2 +1,4 @@
 # this test sends emails
 t/10_log_email.t
+# hangs occasionally
+t/50_process.t

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



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