Date: Thu, 25 Apr 2013 08:49:44 +0000 (UTC) From: Anton Berezin <tobez@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r316507 - in head/devel: . p5-Test-FailWarnings Message-ID: <201304250849.r3P8ni1Q075824@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobez Date: Thu Apr 25 08:49:43 2013 New Revision: 316507 URL: http://svnweb.freebsd.org/changeset/ports/316507 Log: Add devel/p5-Test-FailWarnings 0.003, a Perl test module that adds test failures if warnings are caught. Added: head/devel/p5-Test-FailWarnings/ head/devel/p5-Test-FailWarnings/Makefile (contents, props changed) head/devel/p5-Test-FailWarnings/distinfo (contents, props changed) head/devel/p5-Test-FailWarnings/pkg-descr (contents, props changed) head/devel/p5-Test-FailWarnings/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu Apr 25 08:34:19 2013 (r316506) +++ head/devel/Makefile Thu Apr 25 08:49:43 2013 (r316507) @@ -2739,6 +2739,7 @@ SUBDIR += p5-Test-Exception SUBDIR += p5-Test-Exception-LessClever SUBDIR += p5-Test-Expect + SUBDIR += p5-Test-FailWarnings SUBDIR += p5-Test-Fatal SUBDIR += p5-Test-File SUBDIR += p5-Test-File-Contents Added: head/devel/p5-Test-FailWarnings/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Test-FailWarnings/Makefile Thu Apr 25 08:49:43 2013 (r316507) @@ -0,0 +1,21 @@ +# Created by: Anton Berezin <tobez@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= Test-FailWarnings +PORTVERSION= 0.003 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= Test +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Add test failures if warnings are caught + +BUILD_DEPENDS= p5-Capture-Tiny>=0.21:${PORTSDIR}/devel/p5-Capture-Tiny +RUN_DEPENDS:= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Test::FailWarnings.3 + +.include <bsd.port.mk> Added: head/devel/p5-Test-FailWarnings/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Test-FailWarnings/distinfo Thu Apr 25 08:49:43 2013 (r316507) @@ -0,0 +1,2 @@ +SHA256 (Test-FailWarnings-0.003.tar.gz) = 7411468efff3af7276043063fa078fa2585bb181da07cf49e6d2491e00747124 +SIZE (Test-FailWarnings-0.003.tar.gz) = 13592 Added: head/devel/p5-Test-FailWarnings/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Test-FailWarnings/pkg-descr Thu Apr 25 08:49:43 2013 (r316507) @@ -0,0 +1,5 @@ +This module hooks $SIG{__WARN__} and converts warnings to Test::More's +fail() calls. It is designed to be used with done_testing, when you +don't need to know the test count in advance. + +WWW: http://search.cpan.org/dist/Test-FailWarnings/ Added: head/devel/p5-Test-FailWarnings/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Test-FailWarnings/pkg-plist Thu Apr 25 08:49:43 2013 (r316507) @@ -0,0 +1,5 @@ +%%SITE_PERL%%/Test/FailWarnings.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/FailWarnings/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/FailWarnings +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test +@dirrmtry %%SITE_PERL%%/Test
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304250849.r3P8ni1Q075824>