X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=blobdiff_plain;f=Makefile.PL;fp=Makefile.PL;h=03de9d1efc1ac9c2d4103e57ece05a5a45206c45;hp=172cb66b6c8b654332e9c7c17342191e410bad80;hb=c26b30dee587fa008f7d956b61ae27c36ac7ec82;hpb=245e3f5d9725813b4c73a05b6162b0d93b335fd2 diff --git a/Makefile.PL b/Makefile.PL index 172cb66..03de9d1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -113,9 +113,18 @@ if ($ENV{DBICTEST_SQLT_DEPLOY}) { } } -tests_recursive (qw| - t -|); +tests_recursive ( + 't', + ( ( + $Module::Install::AUTHOR + or + $ENV{DBICTEST_RUN_ALL_TESTS} + or + ( $ENV{TRAVIS}||'' ) eq 'true' + or + ( $ENV{AUTOMATED_TESTING} and ! $ENV{PERL5_CPANM_IS_RUNNING} and ! $ENV{RELEASE_TESTING} ) + ) ? 'xt' : () ), +); install_script (qw| script/dbicadmin