[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: t/scripts/pod-synopsis.t: Skip all if Test::Pod is not available. (Closes: #878522)



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

lamby pushed a commit to branch master
in repository lintian.

commit 1a0e67452657bdba94a85fbf8fd74bdb3ed2f799
Author: Ville Skyttä <ville.skytta@iki.fi>
Date:   Sat Oct 14 14:26:54 2017 +0300

    t/scripts/pod-synopsis.t: Skip all if Test::Pod is not available. (Closes: #878522)
---
 debian/changelog         | 4 ++++
 t/scripts/pod-synopsis.t | 3 ++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index c663e9e..6d90c57 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -33,6 +33,10 @@ lintian (2.5.56) UNRELEASED; urgency=medium
       to a number of issues in the Menu, Perl, Python and Debian
       Policy parsing.
 
+  * t/scripts/pod-synopsis.t:
+    + [CL] Apply patch from Ville Skyttä <ville.skytta@iki.fi> to skip all
+      POD synopsis tests if Test::Pod is not available.  (Closes: #878522)
+
  -- Chris Lamb <lamby@debian.org>  Thu, 12 Oct 2017 14:08:44 -0400
 
 lintian (2.5.55) unstable; urgency=medium
diff --git a/t/scripts/pod-synopsis.t b/t/scripts/pod-synopsis.t
index 4cc6e1f..ed87962 100755
--- a/t/scripts/pod-synopsis.t
+++ b/t/scripts/pod-synopsis.t
@@ -4,9 +4,10 @@ use strict;
 use warnings;
 
 use Test::More;
-use Test::Pod;
 plan skip_all => 'Not needed for coverage of Lintian'
   if $ENV{'LINTIAN_COVERAGE'};
+eval 'use Test::Pod';
+plan skip_all => 'Test::Pod required for testing' if $@;
 eval 'use Test::Synopsis';
 plan skip_all => 'Test::Synopsis required for testing' if $@;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: