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
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