[libbusiness-isbn-perl] 06/08: Skip tests which tries to connect to the internet
gregor herrmann
gregoa at debian.org
Wed Jul 20 17:13:53 UTC 2016
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libbusiness-isbn-perl.
commit 02104b6a9a18d3723ba072f4f2ba61b270cc688b
Author: gregor herrmann <gregoa at debian.org>
Date: Wed Jul 20 19:09:30 2016 +0200
Skip tests which tries to connect to the internet
during build and autopkgtest.
---
debian/rules | 8 ++++++++
debian/tests/pkg-perl/smoke-skip | 2 ++
2 files changed, 10 insertions(+)
diff --git a/debian/rules b/debian/rules
index cbe925d..4a252bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,3 +1,11 @@
#!/usr/bin/make -f
+
+# skip tests that need internet access
+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
new file mode 100644
index 0000000..b83529b
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,2 @@
+# needs internet. and warns.
+t/xisbn10.t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libbusiness-isbn-perl.git
More information about the Pkg-perl-cvs-commits
mailing list