From 3aea890c6528e2df0533c07a703fc22a48ea6fe2 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Thu, 27 Sep 2007 19:06:49 +0200 Subject: [PATCH] 000_pod.t: Add POD syntax checking Standard Test::Pod testing. --- scripts/Makefile.am | 1 + scripts/t/000_pod.t | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 scripts/t/000_pod.t 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 ) ); -- 2.39.5