Codebase list libpoe-component-sslify-perl / 935820c t / a_pod.t
935820c

Tree @935820c (Download .tar.gz)

a_pod.t @935820craw · history · blame

#!/usr/bin/perl

use Test::More;

# AUTHOR test
if ( not $ENV{TEST_AUTHOR} ) {
	plan skip_all => 'Author test. Sent $ENV{TEST_AUTHOR} to a true value to run.';
} else {
	if ( not $ENV{PERL_TEST_POD} ) {
		plan skip_all => 'POD test. Sent $ENV{PERL_TEST_POD} to a true value to run.';
	} else {
		eval "use Test::Pod";
		if ( $@ ) {
			plan skip_all => 'Test::Pod required for testing POD';
		} else {
			all_pod_files_ok();
		}
	}
}