X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=xt%2Fnotabs.t;h=15e218f3a676516c58285bac67722ef0fe149f2b;hb=571df6765aada245c9882a358cd4269541a178b4;hp=beb623eafd32656c43e514b37fefb0e8ae856e80;hpb=8273e845426f0187b4ad6c4a1b42286fa09a648f;p=dbsrgits%2FDBIx-Class.git diff --git a/xt/notabs.t b/xt/notabs.t index beb623e..15e218f 100644 --- a/xt/notabs.t +++ b/xt/notabs.t @@ -8,16 +8,19 @@ use DBICTest; require DBIx::Class; unless ( DBIx::Class::Optional::Dependencies->req_ok_for ('test_notabs') ) { my $missing = DBIx::Class::Optional::Dependencies->req_missing_for ('test_notabs'); - (! DBICTest::RunMode->is_plain && ! DBICTest::RunMode->is_smoker ) + $ENV{RELEASE_TESTING} ? die ("Failed to load release-testing module requirements: $missing") : plan skip_all => "Test needs: $missing" } Test::NoTabs::all_perl_files_ok( - qw/t xt lib script/, + qw/t xt lib script examples/, DBICTest::RunMode->is_author ? ('maint') : (), ); +# Changes is not a "perl file", hence checked separately +Test::NoTabs::notabs_ok('Changes'); + # FIXME - Test::NoTabs declares 'no_plan' which conflicts with done_testing # https://github.com/schwern/test-more/issues/14 #done_testing;