X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Makefile.PL;h=044b0694b1a65e8916b65533a9549c2df73a908d;hb=2b2c98ddfb671dfbe7fe59cc5071a71020cfbb4c;hp=409ec2b0e95c46af1f4d3cc77dc8e0944c94d035;hpb=645e7af473a1c4c488e9c4e6345f4ca19b486001;p=dbsrgits%2FDBIx-Class.git diff --git a/Makefile.PL b/Makefile.PL index 409ec2b..044b069 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -115,9 +115,20 @@ if ($ENV{DBICTEST_SQLT_DEPLOY}) { } } -tests_recursive (qw| - t -|); +tests_recursive ('t'); +tests_recursive ('xt') if ( + $Module::Install::AUTHOR + or + $ENV{DBICTEST_RUN_ALL_TESTS} + or + ( + ( $ENV{TRAVIS}||'' ) eq 'true' + and + ($ENV{TRAVIS_REPO_SLUG}||'') =~ m|\w+/dbix-class$| + ) + or + ( $ENV{AUTOMATED_TESTING} and ! $ENV{PERL5_CPANM_IS_RUNNING} and ! $ENV{RELEASE_TESTING} ) +); install_script (qw| script/dbicadmin