r27311 - in /trunk/dh-make-perl: Makefile test.pl

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Nov 26 20:04:01 UTC 2008


Author: dmn
Date: Wed Nov 26 20:03:57 2008
New Revision: 27311

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=27311
Log:
add a Makefile and support script for running tests in t/

Added:
    trunk/dh-make-perl/Makefile
    trunk/dh-make-perl/test.pl

Added: trunk/dh-make-perl/Makefile
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/Makefile?rev=27311&op=file
==============================================================================
--- trunk/dh-make-perl/Makefile (added)
+++ trunk/dh-make-perl/Makefile Wed Nov 26 20:03:57 2008
@@ -1,0 +1,4 @@
+PERL ?= /usr/bin/perl
+
+test:
+	$(PERL) test.pl t/*.t

Added: trunk/dh-make-perl/test.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/test.pl?rev=27311&op=file
==============================================================================
--- trunk/dh-make-perl/test.pl (added)
+++ trunk/dh-make-perl/test.pl Wed Nov 26 20:03:57 2008
@@ -1,0 +1,9 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use Test::Harness qw(&runtests $verbose);
+
+$verbose=0;
+
+runtests @ARGV;




More information about the Pkg-perl-cvs-commits mailing list