1use warnings; 2use strict; 3 4use Test::More; 5use lib 't/lib'; 6use DBICTest; 7 8my @MODULES = ( 9 'Test::EOL 0.6', 10); 11 12plan skip_all => 'Does not work with done_testing, temp disabled'; 13 14# Don't run tests for installs 15unless ( DBICTest::AuthorCheck->is_author || $ENV{AUTOMATED_TESTING} || $ENV{RELEASE_TESTING} ) { 16 plan( skip_all => "Author tests not required for installation" ); 17} 18# Load the testing modules 19foreach my $MODULE ( @MODULES ) { 20 eval "use $MODULE"; 21 if ( $@ ) { 22 $ENV{RELEASE_TESTING} 23 ? die( "Failed to load required release-testing module $MODULE" ) 24 : plan( skip_all => "$MODULE not available for testing" ); 25 } 26} 27 28TODO: { 29 local $TODO = 'Do not fix those yet - we have way too many branches out there, merging will be hell'; 30 all_perl_files_ok({ trailing_whitespace => 1}, qw/t lib script maint/); 31} 32 33done_testing; 34