[libgtk2-notify-perl] 02/13: Skip t/notification.t during autopkgtest (like during build).

gregor herrmann gregoa at debian.org
Wed Jan 17 20:03:37 UTC 2018


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

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

commit 7c6bd6c1f0c088e3ea8554c3ab1fa07aba0161f9
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Jan 17 20:32:29 2018 +0100

    Skip t/notification.t during autopkgtest (like during build).
---
 debian/rules                     | 3 ++-
 debian/tests/pkg-perl/smoke-skip | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ff90de9..f1e4cc0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,7 +3,8 @@
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 CFLAGS += -I/usr/lib/$(DEB_HOST_MULTIARCH)/gtk-2.0/include
 
-TEST_FILES=$(filter-out t/notification.t,$(wildcard t/*.t))
+SKIP_TESTS=$(shell cat debian/tests/pkg-perl/smoke-skip)
+TEST_FILES = $(filter-out $(SKIP_TESTS), $(wildcard t/*.t))
 
 override_dh_auto_configure:
 	dh_auto_configure -- OPTIMIZE="$(CFLAGS)"
diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..7d49831
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,2 @@
+# cf. #636423 and #887516
+t/notification.t

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



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