[Catalyst-commits] r7830 - trunk/Catalyst-View-Mason
rafl at dev.catalyst.perl.org
rafl at dev.catalyst.perl.org
Wed May 28 14:46:08 BST 2008
Author: rafl
Date: 2008-05-28 14:46:07 +0100 (Wed, 28 May 2008)
New Revision: 7830
Modified:
trunk/Catalyst-View-Mason/Makefile.PL
Log:
Add an authortest target to the Makefile.
Modified: trunk/Catalyst-View-Mason/Makefile.PL
===================================================================
--- trunk/Catalyst-View-Mason/Makefile.PL 2008-05-28 13:46:03 UTC (rev 7829)
+++ trunk/Catalyst-View-Mason/Makefile.PL 2008-05-28 13:46:07 UTC (rev 7830)
@@ -14,13 +14,19 @@
package MY;
+
sub postamble {
+ my $make_test = q{PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), 'inc', '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)};
+
return <<"EOM"
testcover: pm_to_blib
-\t-HARNESS_PERL_SWITCHES=-MDevel::Cover PERL_DL_NONLAZY=1 \$(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness(\$(TEST_VERBOSE), 'inc', '\$(INST_LIB)', '\$(INST_ARCHLIB)')" \$(TEST_FILES)
+\t-HARNESS_PERL_SWITCHES=-MDevel::Cover $make_test
\tcover
README: lib/Catalyst/View/Mason.pm
\tpod2text \$< > \$@
+
+authortest: pure_all
+\tTEST_AUTHOR=1 $make_test
EOM
}
More information about the Catalyst-commits
mailing list