diff --git a/t/01compile.t b/t/01compile.t index 66346bcd8bac62bfacfc694ce20605ad156dbaff..922f7d21ecff9f7d3738d5292ebcffa0129eac8b 100755 --- a/t/01compile.t +++ b/t/01compile.t @@ -9,6 +9,14 @@ use UNIVERSAL::require; plan(skip_all => 'Test::Compile required') unless Test::Compile->require(); -Test::Compile->import(); -all_pm_files_ok(); +my $test = Test::Compile->new(); +ok( + $test->pl_file_compiles($_), + $_ +) foreach qw(bin/account-manager.cgi bin/account-manager.pl); +ok( + $test->pm_file_compiles($_), + $_ +) foreach $test->all_pm_files('lib'); +$test->done_testing();