[dh-make-perl] 01/03: Skip POD tests unless RELEASE_TESTING is present in the environment

Damyan Ivanov dmn at moszumanska.debian.org
Mon Jun 30 12:17:21 UTC 2014


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

dmn pushed a commit to branch master
in repository dh-make-perl.

commit c99e2f4d53ef35ef5ee9fec0b445b8dfaaf10acc
Author: Damyan Ivanov <dmn at debian.org>
Date:   Mon Jun 30 12:08:28 2014 +0000

    Skip POD tests unless RELEASE_TESTING is present in the environment
    
    Closes: #752917 -- FTBFS with Perl 5.20: Pod coverage on
    DhMakePerl::Config
---
 t/pod-coverage.t | 2 ++
 t/pod.t          | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/t/pod-coverage.t b/t/pod-coverage.t
index c3f7102..c3cd48c 100644
--- a/t/pod-coverage.t
+++ b/t/pod-coverage.t
@@ -2,6 +2,8 @@ use strict;
 use warnings;
 use Test::More;
 
+plan skip_al => "This is a release-time test" unless $ENV{RELEASE_TESTING};
+
 # Ensure a recent version of Test::Pod::Coverage
 my $min_tpc = 1.08;
 eval "use Test::Pod::Coverage $min_tpc";
diff --git a/t/pod.t b/t/pod.t
index ee8b18a..ec4d134 100644
--- a/t/pod.t
+++ b/t/pod.t
@@ -4,6 +4,8 @@ use strict;
 use warnings;
 use Test::More;
 
+plan skip_all => "This is a release-time test" unless $ENV{RELEASE_TESTING};
+
 # Ensure a recent version of Test::Pod
 my $min_tp = 1.22;
 eval "use Test::Pod $min_tp";

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



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