First round of detabification
[dbsrgits/DBIx-Class.git] / t / 06notabs.t
CommitLineData
281738a4 1use warnings;
2use strict;
3
4use Test::More;
281738a4 5use lib 't/lib';
6use DBICTest;
a8064486 7
8my @MODULES = (
9 'Test::NoTabs 0.9',
10);
11
12# Don't run tests for installs
281738a4 13unless ( DBICTest::AuthorCheck->is_author || $ENV{AUTOMATED_TESTING} || $ENV{RELEASE_TESTING} ) {
14 plan( skip_all => "Author tests not required for installation" );
15}
a8064486 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
d7f20fdf 26all_perl_files_ok(qw/t lib script maint/);
281738a4 27
28done_testing;