[libmediawiki-bot-perl] 02/02: skip most/all tests during build/autopkgtest

gregor herrmann gregoa at debian.org
Thu Mar 17 19:00:19 UTC 2016


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

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

commit 0eaf4db14ad00179cd9f0320c5a7f685b340e42e
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Mar 17 19:57:26 2016 +0100

    skip most/all tests during build/autopkgtest
    
    most tests rely on internet access which is technically unreliable and not
    allowed by debian policy since 3.9.7 (§4.9)
    
    Gbp-Dch: Ignore
---
 debian/rules               | 5 +++++
 debian/tests/pkg-perl/SKIP | 5 +++++
 2 files changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..0b1a222 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,9 @@
 #!/usr/bin/make -f
 
+TEST_FILES = $(wildcard t/00-*.t)
+
 %:
 	dh $@
+
+override_dh_auto_test:
+	dh_auto_test -- --test_files="$(TEST_FILES)"
diff --git a/debian/tests/pkg-perl/SKIP b/debian/tests/pkg-perl/SKIP
new file mode 100644
index 0000000..455b696
--- /dev/null
+++ b/debian/tests/pkg-perl/SKIP
@@ -0,0 +1,5 @@
+# skipp smoke tests
+# all but two (which just use the module which we do in use.t anyway)
+# need internet access and rely on test.wikipedia.org
+# some currently fail
+smoke

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



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