Merge 'trunk' into 'informix'
[dbsrgits/DBIx-Class.git] / t / 07eol.t
CommitLineData
0a87afc4 1use warnings;
2use strict;
3
4use Test::More;
5use lib 't/lib';
6use DBICTest;
7
8my @MODULES = (
9 'Test::EOL 0.6',
10);
11
12# Don't run tests for installs
13unless ( DBICTest::AuthorCheck->is_author || $ENV{AUTOMATED_TESTING} || $ENV{RELEASE_TESTING} ) {
14 plan( skip_all => "Author tests not required for installation" );
15}
16# Load the testing modules
17foreach my $MODULE ( @MODULES ) {
18 eval "use $MODULE";
19 if ( $@ ) {
20 $ENV{RELEASE_TESTING}
21 ? die( "Failed to load required release-testing module $MODULE" )
22 : plan( skip_all => "$MODULE not available for testing" );
23 }
24}
25
26all_perl_files_ok({ trailing_whitespace => 1}, qw/t lib script maint/);
27
28done_testing;