From: Frank Lichtenheld Date: Thu, 27 Sep 2007 17:06:49 +0000 (+0200) Subject: 000_pod.t: Add POD syntax checking X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aea890c6528e2df0533c07a703fc22a48ea6fe2;p=dpkg 000_pod.t: Add POD syntax checking Standard Test::Pod testing. --- diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 4d1d97d6..d3793f6f 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -50,6 +50,7 @@ EXTRA_DIST = \ install-info.pl \ update-alternatives.pl \ changelog/debian.pl \ + t/000_pod.t \ t/100_Dpkg_Version.t \ t/200_Dpkg_Shlibs.t \ t/200_Dpkg_Shlibs/symbols.fake-1 \ diff --git a/scripts/t/000_pod.t b/scripts/t/000_pod.t new file mode 100644 index 00000000..dc000632 --- /dev/null +++ b/scripts/t/000_pod.t @@ -0,0 +1,11 @@ +# -*- mode: cperl;-*- + +use Test::More; + +use strict; +use warnings; + +eval "use Test::Pod 1.00"; +plan skip_all => "Test::Pod 1.00 required for testing POD" if $@; +my @poddirs = ( $ENV{srcdir} || '.' ); +all_pod_files_ok( all_pod_files( @poddirs ) );