From: Tim Bunce <Tim.Bunce@pobox.com>
Date: Fri, 26 Oct 2012 09:09:25 +0000 (+0100)
Subject: Added ptest target for parallel testing
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=06ccead3600f59d8f59f6f6eb3f40f373691e43d;p=p5sagit%2FDevel-Size.git

Added ptest target for parallel testing
---

diff --git a/Makefile.PL b/Makefile.PL
index 362a098..d057fbf 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -146,3 +146,17 @@ sub write_header {
     print { $fh } "#endif /* ${guard_name} */\n";
     close $fh or die $!;
 }
+
+
+# =====================================================================
+
+package MY;
+
+sub postamble {
+    return qq{
+
+ptest:  all
+\t prove --blib --jobs 4 --shuffle
+
+    \n};
+}