1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#!/usr/bin/env perl
BEGIN {
unless ( $ENV{RELEASE_TESTING} ) {
print qq{1..0 # SKIP these tests are for release candidate testing\n};
exit;
}
}
BEGIN {
if ( not $ENV{RELEASE_TESTING} ) {
require Test::More;
Test::More::plan(
skip_all => 'these tests are for release candidate testing' );
}
}
use Modern::Perl '2010'; ## no critic (Modules::ProhibitUseQuotedVersion)
use Test::More;
eval 'use Test::Portability::Files';
plan skip_all => 'Test::Portability::Files required for testing portability'
if $@;
options( test_one_dot => 0 );
run_tests();
|