BEGIN {
unless
(
$ENV
{RELEASE_TESTING}) {
qq{1..0 # SKIP these tests are for release candidate testing\n}
;
exit
}
}
use
strict;
use
warnings;
SKIP: {
skip
"Test::Legal required for testing licences"
if
$@;
eval
{ Test::Legal->
import
() };
BAIL_OUT
"Test::Legal reported error on import so aborting tests: $@"
if
$@;
can_ok( __PACKAGE__,
qw(copyright_ok license_ok)
);
main->copyright_ok;
main->license_ok;
};