Split from git://repo.or.cz/quvi.git
[libquvi-scripts.git] / tests / t / pod.t
blob67b5e2d79645cdcca17bdd55c33010500d19da5f
2 use warnings;
3 use strict;
5 use Getopt::Long;
6 use Test::More;
8 eval "use Test::Pod 1.00";
9 plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
11 my %config;
12 GetOptions(\%config, 'pod_dir|pod-dir|poddir|p=s@')
13   or exit 1;
15 my @dirs = @{$config{pod_dir}} if $config{pod_dir};
16 plan skip_all => "Nothing to test" if scalar @dirs == 0;
18 all_pod_files_ok(all_pod_files(@dirs));
20 # vim: set ts=2 sw=2 tw=72 expandtab: