if (not @svers) {
@svers = $version;
}
- else {
+ elsif (not grep {$version eq $_} @svers) {
+ # The $version was not equal to one of the source
+ # versions, so it's probably unqualified (or just
+ # wrong). Delete it, and use the source versions
+ # instead.
if (exists $found_versions{$version}) {
delete $found_versions{$version};
$found_removed{$version} = 1;
test:
$(PERL) -MTest::Harness -I. -e 'runtests(glob(q(t/*.t)))'
+test_%: t/%.t
+ $(PERL) -MTest::Harness -I. -e 'runtests(q($<))'
+
testcover:
PERLLIB=t/cover_lib/ cover -test
use Test::More;
eval "use Test::Pod 1.00";
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
-all_pod_files_ok();
+all_pod_files_ok(all_pod_files('.'));