From: Peter Rabbitson Date: Tue, 5 Nov 2013 08:26:23 +0000 (+0100) Subject: This is an expensive author-only test, move to xt/ X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d8541ca37385f6d112bf251c0c8ea6a628abcc9b;p=dbsrgits%2FDBIx-Class-Historic.git This is an expensive author-only test, move to xt/ Also get xt tests first in line (won't matter much with -s) --- diff --git a/maint/Makefile.PL.inc/11_authortests.pl b/maint/Makefile.PL.inc/11_authortests.pl index f9f78ee..d29b1bc 100644 --- a/maint/Makefile.PL.inc/11_authortests.pl +++ b/maint/Makefile.PL.inc/11_authortests.pl @@ -12,7 +12,7 @@ File::Find::find(sub { my @xt_tests = map { File::Spec->catfile($_, '*.t') } sort keys %$xt_dirs; # this will add the xt tests to the `make test` target among other things -Meta->tests(join (' ', map { $_ || () } Meta->tests, @xt_tests ) ); +Meta->tests(join (' ', map { $_ || () } @xt_tests, Meta->tests ) ); # inject an explicit xt test run, mainly to check the contents of # lib and the generated POD's *before* anything is copied around diff --git a/maint/travis-ci_scripts/40_script.bash b/maint/travis-ci_scripts/40_script.bash index bad7414..189eae3 100755 --- a/maint/travis-ci_scripts/40_script.bash +++ b/maint/travis-ci_scripts/40_script.bash @@ -14,7 +14,7 @@ if [[ "$CLEANTEST" = "true" ]] ; then run_or_err "Prepare blib" "make pure_all" run_harness_tests else - PROVECMD="prove -lrswj$NUMTHREADS t xt" + PROVECMD="prove -lrswj$NUMTHREADS xt t" # FIXME - temporary, until Package::Stash is fixed if perl -M5.010 -e 1 &>/dev/null ; then diff --git a/t/02_standalone_test_classes.t b/xt/standalone_testschema_resultclasses.t similarity index 100% rename from t/02_standalone_test_classes.t rename to xt/standalone_testschema_resultclasses.t