catalyst test prereq

This commit is contained in:
espie 2006-11-05 13:45:24 +00:00
parent 400b237b1c
commit 77dfe7a20f
10 changed files with 98 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/05 13:47:47 espie Exp $
COMMENT= "forbids warnings while testing"
DISTNAME= Test-NoWarnings-0.082
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MAINTAINER= Simon Dassow <janus@errornet.de>
# Artistic and GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
RUN_DEPENDS= ::devel/p5-Test-Tester
REGRESS_DEPENDS=${RUN_DEPENDS}
CONFIGURE_STYLE=perl
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Test-NoWarnings-0.082.tar.gz) = 702143eab77ffc335a08beccac47dca4
RMD160 (Test-NoWarnings-0.082.tar.gz) = 0cd18b19c8a415613648fb15202ebc73c672a785
SHA1 (Test-NoWarnings-0.082.tar.gz) = 41571c0e1c2e86a2eb63a6f9cfb769e6ff4630d2
SIZE (Test-NoWarnings-0.082.tar.gz) = 15036

View File

@ -0,0 +1,10 @@
--- Makefile.PL.orig Sun Feb 5 18:15:33 2006
+++ Makefile.PL Sun Feb 5 18:15:37 2006
@@ -19,7 +19,6 @@
AUTHOR => 'Fergal Daly <fergal@esatclear.ie>',
NAME => $module,
VERSION_FROM => $pm_file,
- INSTALLDIRS => 'perl',
PREREQ_PM => {
'Test::Tester' => 0.103
},

View File

@ -0,0 +1,6 @@
In general, your tests shouldn't produce warnings. This modules causes
any warnings to be captured and stored. It automatically adds an extra
test that will run when your script ends to check that there were no
warnings. If there were any warings, the test will give a "not ok" and
diagnostics of where, when and what the warning was, including a stack
trace of what was going on when the it occurred.

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/05 13:47:47 espie Exp $
${P5SITE}/Test/NoWarnings/
${P5SITE}/Test/NoWarnings.pm
${P5SITE}/Test/NoWarnings/Warning.pm
@man man/man3p/Test::NoWarnings.3p

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/11/05 13:45:24 espie Exp $
COMMENT= "run tests built with Test::Builder"
DISTNAME= Test-Tester-0.103
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MAINTAINER= Simon Dassow <janus@errornet.de>
# Artistic and GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
CONFIGURE_STYLE= perl
PKG_ARCH= *
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (Test-Tester-0.103.tar.gz) = 31d58158d2a6cdb7ad9d9fe3e0aed86e
RMD160 (Test-Tester-0.103.tar.gz) = 2cbec3aefc47ebf36397f1444eb848eab66f6aa9
SHA1 (Test-Tester-0.103.tar.gz) = 599e367c09c5dc7128af154a3dd5f19ac9f9582b
SIZE (Test-Tester-0.103.tar.gz) = 14693

View File

@ -0,0 +1,10 @@
--- Makefile.PL.orig Sun Feb 5 18:12:58 2006
+++ Makefile.PL Sun Feb 5 18:13:07 2006
@@ -19,7 +19,6 @@
AUTHOR => 'Fergal Daly <fergal@esatclear.ie>',
NAME => $module,
VERSION_FROM => $pm_file,
- INSTALLDIRS => 'perl',
PREREQ_PM => {
'Test::Builder' => 0,
},

View File

@ -0,0 +1,2 @@
If you have written a test module based on Test::Builder then
Test::Tester allows you to test it with the minimum of effort.

View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/05 13:45:24 espie Exp $
${P5SITE}/Test/
${P5SITE}/Test/Tester/
${P5SITE}/Test/Tester.pm
${P5SITE}/Test/Tester/Capture.pm
${P5SITE}/Test/Tester/CaptureRunner.pm
${P5SITE}/Test/Tester/Delegate.pm
@man man/man3p/Test::Tester.3p
@man man/man3p/Test::Tester::Capture.3p
@man man/man3p/Test::Tester::CaptureRunner.3p