#!perl
if
(
$ENV
{AUTHOR_TESTS} ) {
Test::More::plan(
skip_all
=>
"Test::Perl::Critic required for testing PBP compliance"
);
}
Test::Perl::Critic::all_critic_ok();
}
else
{
Test::More::plan(
tests
=> 1);
SKIP: {
Test::More::skip(
'Not running author tests - Environment variable AUTHOR_TESTS not defined'
, 1 );
}
}