| 1 | #!perl |
| 2 | |
| 3 | use strictscip-perl cpan DPKG-Parse 0.03 strict/; |
| 4 | use warningsscip-perl cpan DPKG-Parse 0.03 warnings/; |
| 5 | use Test::Morescip-perl cpan DPKG-Parse 0.03 Test/More/; |
| 6 | |
| 7 | foreach my $env_skip ( qw( |
| 8 | SKIP_POD_NO404S |
| 9 | AUTOMATED_TESTING |
| 10 | ) ){ |
| 11 | planscip-perl cpan DPKG-Parse 0.03 main/plan(). skip_all => "\$ENV{$env_skip} is set, skipping" |
| 12 | if $ENVscip-perl cpan DPKG-Parse 0.03 main/`%ENV`.{$env_skip}; |
| 13 | } |
| 14 | |
| 15 | eval "use Test::Pod::No404s"; |
| 16 | if ( $@scip-perl cpan DPKG-Parse 0.03 main/`$@`. ) { |
| 17 | planscip-perl cpan DPKG-Parse 0.03 main/plan(). skip_all => 'Test::Pod::No404s required for testing POD'; |
| 18 | } |
| 19 | else { |
| 20 | all_pod_files_okscip-perl cpan DPKG-Parse 0.03 main/all_pod_files_ok().(); |
| 21 | } |