[libur-perl] 03/05: Make the package autopkgtestable
Niko Tyni
ntyni at moszumanska.debian.org
Fri Sep 23 08:00:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
ntyni pushed a commit to branch master
in repository libur-perl.
commit 6a499b07509594b9a24fc08acfb7a639888f546c
Author: Niko Tyni <ntyni at debian.org>
Date: Thu Sep 22 23:05:05 2016 +0300
Make the package autopkgtestable
Skip the syntax checks for now: too many failures that are not a
problem for real usage. Upstream should probably not be bothered,
at least not without a patch.
Also skip the 'warns when used' check, issue tracked as #838629.
---
debian/control | 1 +
debian/tests/pkg-perl/SKIP | 12 ++++++++++++
debian/tests/pkg-perl/smoke-skip | 7 +++++++
debian/tests/pkg-perl/smoke-tests | 3 +++
4 files changed, 23 insertions(+)
diff --git a/debian/control b/debian/control
index c4fb6d3..17db3ac 100644
--- a/debian/control
+++ b/debian/control
@@ -39,6 +39,7 @@ Standards-Version: 3.9.8
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libur-perl.git
Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libur-perl.git
Homepage: http://search.cpan.org/dist/UR/
+Testsuite: autopkgtest-pkg-perl
Package: libur-perl
Architecture: all
diff --git a/debian/tests/pkg-perl/SKIP b/debian/tests/pkg-perl/SKIP
new file mode 100644
index 0000000..29a8ca4
--- /dev/null
+++ b/debian/tests/pkg-perl/SKIP
@@ -0,0 +1,12 @@
+# Dozens of the modules are presumably only intended for internal
+# use by other UR::* modules, and fail syntax checks because of missing
+# 'use Carp' statements and the like.
+#
+# Upstream probably shouldn't be bothered,
+# at least not without a patch. Skip them all for now, the smoke
+# suite is still useful to run on autopkgtest setups.
+#
+runtime-deps-and-recommends.d/syntax.t
+
+# warns when used, tracked as #838629
+runtime-deps.d/use.t
diff --git a/debian/tests/pkg-perl/smoke-skip b/debian/tests/pkg-perl/smoke-skip
new file mode 100644
index 0000000..c6ce777
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-skip
@@ -0,0 +1,7 @@
+# Failed test 'Error message was correct'
+# at t/URT/t/73_opts_spec_creation_and_validation.t line 40.
+# '/usr/share/perl5/UR/Namespace/Command.pm.opts is 0 bytes and no backup exists, removing file'
+# doesn't match '(?^:Command\.pm\.opts is 0 bytes, reverting to previous)'
+
+# skip this for now
+t/URT/t/73_opts_spec_creation_and_validation.t
diff --git a/debian/tests/pkg-perl/smoke-tests b/debian/tests/pkg-perl/smoke-tests
new file mode 100644
index 0000000..01ed228
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-tests
@@ -0,0 +1,3 @@
+t/*.t
+t/*/*.t
+t/*/t/*.t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libur-perl.git
More information about the Pkg-perl-cvs-commits
mailing list