[PATCH] Trivial test script in lieu of having Makefile.PL to do things for us.

Paul Fenwick pjf at perltraining.com.au
Mon Nov 24 09:40:45 UTC 2008


---
 test |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100755 test

diff --git a/test b/test
new file mode 100755
index 0000000..502487c
--- /dev/null
+++ b/test
@@ -0,0 +1,12 @@
+#!/usr/bin/perl -w
+use strict;
+use autodie;
+
+use FindBin qw($Bin);
+
+print "Running tests in $Bin/t\n";
+
+chdir($Bin);
+
+# Multi-arg exec avoids the shell.
+exec( qw(prove -Ilib t/) );
-- 
1.5.5.GIT


--------------020905020405070205070900
Content-Type: text/x-patch;
 name="0001-Updated-extract_name_ver_from_makefile-to-handle-M.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename*0="0001-Updated-extract_name_ver_from_makefile-to-handle-M.patc";
 filename*1="h"



More information about the pkg-perl-maintainers mailing list