Blame t/pod.t

Packit fa4fcc
use strict;
Packit fa4fcc
Packit fa4fcc
my $skip;
Packit fa4fcc
Packit fa4fcc
BEGIN {
Packit fa4fcc
	eval "use Test::More";
Packit fa4fcc
	$skip = $@ ? 1 : 0;
Packit fa4fcc
	unless ($skip) {
Packit fa4fcc
		eval "use Test::Pod 1.00";
Packit fa4fcc
		$skip = 2 if $@;
Packit fa4fcc
	}
Packit fa4fcc
}
Packit fa4fcc
Packit fa4fcc
if ($skip == 1) {
Packit fa4fcc
	print "1..0 # Skipped: Test::More not installed\n";
Packit fa4fcc
	exit;
Packit fa4fcc
}
Packit fa4fcc
Packit fa4fcc
if ($skip == 2) {
Packit fa4fcc
	print "1..0 # Skipped: Test::Pod 1.00 required for testing POD\n";
Packit fa4fcc
	exit;
Packit fa4fcc
}
Packit fa4fcc
Packit fa4fcc
all_pod_files_ok();