[libwww-wikipedia-perl] 01/02: Synchronize the whitelist of non-network tests between build and autopkgtest
Niko Tyni
ntyni at moszumanska.debian.org
Tue Jan 19 21:15:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch master
in repository libwww-wikipedia-perl.
commit 602ff449322523bbb7b3b2d89adb5359d24bba21
Author: Niko Tyni <ntyni at debian.org>
Date: Tue Jan 19 23:08:49 2016 +0200
Synchronize the whitelist of non-network tests between build and autopkgtest
This was prompted by autopkgtest failures in t/16.entry_language.t
because of external changes on Wikipedia. It turned out that the
autopkgtest checks were relying on network access, which is not
allowed.
---
debian/rules | 2 +-
debian/tests/pkg-perl/smoke-files | 11 +++++++++++
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 6eccedb..dd74e1b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,4 @@
dh $@
override_dh_auto_test:
- dh_auto_test -- TEST_FILES="t/10.load.t t/98.pod.t t/99.pod_coverage.t"
+ dh_auto_test -- TEST_FILES="$(shell grep '\.t$$' debian/tests/pkg-perl/smoke-files)"
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
new file mode 100644
index 0000000..257e2c1
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-files
@@ -0,0 +1,11 @@
+# whitelist of tests that don't need internet access
+t/10.load.t
+t/11.language.t
+t/15.entry.t
+t/30.ua.t
+t/98.pod.t
+t/99.pod_coverage.t
+
+# test material
+t/perl.raw
+t/perl.es.raw
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libwww-wikipedia-perl.git
More information about the Pkg-perl-cvs-commits
mailing list