[libanyevent-perl] 01/06: Skip t/66_ioasync_03_child.t during build and autopkgtest

gregor herrmann gregoa at debian.org
Fri Jan 5 01:35:26 UTC 2018


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

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

commit b8e06b0cb8fe01a4451564a05dfec86db120b7d0
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Jan 5 02:19:22 2018 +0100

    Skip t/66_ioasync_03_child.t during build and autopkgtest
    
    as it seems to suffer from a race condition.
    
    Closes: #750732
---
 debian/rules                     | 5 ++++-
 debian/tests/pkg-perl/smoke-skip | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 310d8b3..ce49b75 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 
+SKIP_TESTS=$(shell cat debian/tests/pkg-perl/smoke-skip)
+TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
+
 %:
 # ensure we build only arch:any packages
 # safeguard against converting the package again to arch:all
@@ -10,7 +13,7 @@ TMP     = $(CURDIR)/debian/$(PACKAGE)
 	dh $@ -a
 
 override_dh_auto_test:
-	PERL_ANYEVENT_LOOP_TESTS=1 xvfb-run -a dh_auto_test
+	PERL_ANYEVENT_LOOP_TESTS=1 xvfb-run -a dh_auto_test -- TEST_FILES="$(TEST_FILES)"
 
 override_dh_installexamples:
 	dh_installexamples
diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..f12e4ba
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,2 @@
+# racey, cf. #750732
+t/66_ioasync_03_child.t

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



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