[liblocales-perl] 05/07: Skip tests depending on unpackaged String::UnicodeUTF8

Florian Schlichting fsfs at moszumanska.debian.org
Mon Aug 17 14:46:23 UTC 2015


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

fsfs pushed a commit to branch master
in repository liblocales-perl.

commit 26c225777b48743da23d2c9c5fbe46f2c6a28ed1
Author: Florian Schlichting <fsfs at debian.org>
Date:   Mon Aug 17 16:25:47 2015 +0200

    Skip tests depending on unpackaged String::UnicodeUTF8
---
 debian/rules                     | 6 ++++++
 debian/tests/pkg-perl/skip-smoke | 3 +++
 2 files changed, 9 insertions(+)

diff --git a/debian/rules b/debian/rules
index abde6ef..6633b33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,11 @@
 #!/usr/bin/make -f
 
+# String::UnicodeUTF8 is not packaged nor are its dependencies, so skip tests for now
+SKIP_TESTS = $(shell cat debian/tests/pkg-perl/skip-smoke)
+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/skip-smoke b/debian/tests/pkg-perl/skip-smoke
new file mode 100644
index 0000000..8c2f3a9
--- /dev/null
+++ b/debian/tests/pkg-perl/skip-smoke
@@ -0,0 +1,3 @@
+t/07.unicode-default.t
+t/07.unicode-false.t
+t/07.unicode-true.t

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



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