[pkg-perl-tools] 02/03: autopkgtest/smoke: expand the skip list to compile, author and pod tests

ntyni at debian.org ntyni at debian.org
Thu Aug 3 17:15:35 UTC 2017


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

ntyni pushed a commit to branch master
in repository pkg-perl-tools.

commit 75b5cc25c71a896a85c4e92b8eceadb95439b065
Author: Niko Tyni <ntyni at debian.org>
Date:   Thu Aug 3 19:24:28 2017 +0300

    autopkgtest/smoke: expand the skip list to compile, author and pod tests
    
    Closes: #870252
---
 autopkgtest/README.autopkgtest         |  7 ++++---
 autopkgtest/scripts/build-deps.d/smoke | 21 ++++++++++++++++++---
 2 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/autopkgtest/README.autopkgtest b/autopkgtest/README.autopkgtest
index d7e4203..c09bfb0 100644
--- a/autopkgtest/README.autopkgtest
+++ b/autopkgtest/README.autopkgtest
@@ -34,9 +34,10 @@ Empty lines and #-style comment lines are supported.
 If there are just a few test files in the main test suite that
 fail the smoke test, you can ignore those by adding them to
 'debian/tests/pkg-perl/smoke-skip', one per line. Empty lines and
-#-style comments are supported. Note that t/97_meta.t, t/04critic.t,
-t/boilerplate.t, t/pod.t, and t/pod-coverage.t are skipped automatically
-unless you provide a skip list.
+#-style comments are supported. Note that various normally useless tests
+(including syntax checks, perlcritic, author and POD tests along with
+some more specific ones like t/boilerplate.t and $TDIR/t/97_meta.t)
+are skipped automatically unless you provide a skip list.
 
 If the runtime-deps.d/use.t test fails to get the main module of your
 package right, you can customize that by putting the right name in
diff --git a/autopkgtest/scripts/build-deps.d/smoke b/autopkgtest/scripts/build-deps.d/smoke
index 7ff120f..e64ed21 100755
--- a/autopkgtest/scripts/build-deps.d/smoke
+++ b/autopkgtest/scripts/build-deps.d/smoke
@@ -66,15 +66,30 @@ then
     done
 else
     # common nuisances, no value with runtime tests
-    rm -f $TDIR/t/pod.t
-    rm -f $TDIR/t/pod-coverage.t
+    rm -f $TDIR/t/*pod.t
+    rm -f $TDIR/t/*pod[-_]cov*.t # coverage
+    rm -f $TDIR/t/*pod[-_]syn*.t # syntax
+
     # these should ideally be conditional to RELEASE_TESTING but normally aren't
     # example: libbest-perl_0.15-1
     rm -f $TDIR/t/boilerplate.t
+
+    # we're not interested in perlcritic regressions
     # example: libhttp-body-perl
-    rm -f $TDIR/t/04critic.t
+    rm -f $TDIR/*critic*.t
+
     # example: liborlite-statistics-perl
     rm -f $TDIR/t/97_meta.t
+
+    # we test compile all the modules separately
+    rm -f $TDIR/t/*compile*.t
+    # Dist::Zilla generates these sometimes
+    # example: libmoosex-has-sugar-perl
+    rm -f $TDIR/t/00-compile/*.t
+
+    # various "author" tests not meant to be run with the build dependencies
+    rm -f $TDIR/t/*author*.t
+    rm -f $TDIR/t/*author/*.t
 fi
 
 # for Test::Pod

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



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