Commit 85889f6e authored by IKEDA Soji's avatar IKEDA Soji
Browse files

Update to catch up Test::Compile 2.0.0.

parent 9c9c126d
......@@ -8,17 +8,12 @@ use warnings;
use English qw(-no_match_vars);
use Test::More;
eval {
require Test::Compile;
Test::Compile->import();
};
if ($EVAL_ERROR) {
BEGIN { eval 'use Test::Compile qw(all_pl_files_ok)'; }
unless ($Test::Compile::VERSION) {
my $msg = 'Test::Compile required';
plan(skip_all => $msg);
}
#$ENV{PERL5LIB} = $ENV{PERL5LIB} ? "$ENV{PERL5LIB}:src/lib" : "src/lib";
all_pl_files_ok(
##<po/*.pl>,
<src/sbin/*.pl>,
......
......@@ -8,11 +8,8 @@ use warnings;
use English qw(-no_match_vars);
use Test::More;
eval {
require Test::Compile;
Test::Compile->import();
};
if ($EVAL_ERROR) {
BEGIN { eval 'use Test::Compile qw(all_pm_files all_pm_files_ok)'; }
unless ($Test::Compile::VERSION) {
my $msg = 'Test::Compile required';
plan(skip_all => $msg);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment