diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-08-24 16:36:19 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2014-08-24 16:36:19 +0000 |
commit | b808141b894ad538db75a7067e0199cbfe6337a9 (patch) | |
tree | b3560724f86d6383c5ded5a79749c3f69592eb51 /t/release-pod-no404s.t | |
download | Module-Implementation-tarball-b808141b894ad538db75a7067e0199cbfe6337a9.tar.gz |
Module-Implementation-0.09HEADModule-Implementation-0.09master
Diffstat (limited to 't/release-pod-no404s.t')
-rw-r--r-- | t/release-pod-no404s.t | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/t/release-pod-no404s.t b/t/release-pod-no404s.t new file mode 100644 index 0000000..da185ec --- /dev/null +++ b/t/release-pod-no404s.t @@ -0,0 +1,29 @@ +#!perl + +BEGIN { + unless ($ENV{RELEASE_TESTING}) { + require Test::More; + Test::More::plan(skip_all => 'these tests are for release candidate testing'); + } +} + + +use strict; +use warnings; +use Test::More; + +foreach my $env_skip ( qw( + SKIP_POD_NO404S + AUTOMATED_TESTING +) ){ + plan skip_all => "\$ENV{$env_skip} is set, skipping" + if $ENV{$env_skip}; +} + +eval "use Test::Pod::No404s"; +if ( $@ ) { + plan skip_all => 'Test::Pod::No404s required for testing POD'; +} +else { + all_pod_files_ok(); +} |