From: Peter Rabbitson Date: Fri, 14 Dec 2012 13:33:22 +0000 (+0100) Subject: Force xt/ tests to run on anything involving a create_distdir X-Git-Tag: v0.08205~54 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=dbsrgits%2FDBIx-Class.git;a=commitdiff_plain;h=da89304fa29f8fd18d235d120ccbea7d2cfbecdf Force xt/ tests to run on anything involving a create_distdir --- diff --git a/maint/Makefile.PL.inc/11_authortests.pl b/maint/Makefile.PL.inc/11_authortests.pl index 3b9c174..9b3067d 100644 --- a/maint/Makefile.PL.inc/11_authortests.pl +++ b/maint/Makefile.PL.inc/11_authortests.pl @@ -14,12 +14,10 @@ my $xt_tests = join (' ', map { File::Spec->catfile($_, '*.t') } sort keys %$xt_ # this will add the xt tests to the `make test` target among other things Meta->tests(join (' ', map { $_ || () } Meta->tests, $xt_tests ) ); -# inject an explicit xt test run for making a tarball (distdir is exempt) +# inject an explicit xt test run for the create_distdir target postamble <<"EOP"; -.PHONY: test_xt - -dist : test_xt +create_distdir : test_xt test_xt : \tPERL_DL_NONLAZY=1 RELEASE_TESTING=1 \$(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness(\$(TEST_VERBOSE), 'inc', '\$(INST_LIB)', '\$(INST_ARCHLIB)')" $xt_tests