diff options
author | tobez <tobez@FreeBSD.org> | 2013-04-25 16:49:43 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2013-04-25 16:49:43 +0800 |
commit | edc33f5acda7c527ab1f0af8cbeb67d9d9e736a8 (patch) | |
tree | a772115c13f118970a4380c024a1aea491e70095 /devel | |
parent | cf327fac310e8280c6f94204c81c3859ffffc03a (diff) | |
download | freebsd-ports-gnome-edc33f5acda7c527ab1f0af8cbeb67d9d9e736a8.tar.gz freebsd-ports-gnome-edc33f5acda7c527ab1f0af8cbeb67d9d9e736a8.tar.zst freebsd-ports-gnome-edc33f5acda7c527ab1f0af8cbeb67d9d9e736a8.zip |
Add devel/p5-Test-FailWarnings 0.003, a Perl test module that adds test
failures if warnings are caught.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/p5-Test-FailWarnings/Makefile | 21 | ||||
-rw-r--r-- | devel/p5-Test-FailWarnings/distinfo | 2 | ||||
-rw-r--r-- | devel/p5-Test-FailWarnings/pkg-descr | 5 | ||||
-rw-r--r-- | devel/p5-Test-FailWarnings/pkg-plist | 5 |
5 files changed, 34 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 08e26ad42d4c..710a6f3f83d0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-Test-FailWarnings/Makefile b/devel/p5-Test-FailWarnings/Makefile new file mode 100644 index 000000000000..6161e4815af9 --- /dev/null +++ b/devel/p5-Test-FailWarnings/Makefile @@ -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> diff --git a/devel/p5-Test-FailWarnings/distinfo b/devel/p5-Test-FailWarnings/distinfo new file mode 100644 index 000000000000..93913f39b0ce --- /dev/null +++ b/devel/p5-Test-FailWarnings/distinfo @@ -0,0 +1,2 @@ +SHA256 (Test-FailWarnings-0.003.tar.gz) = 7411468efff3af7276043063fa078fa2585bb181da07cf49e6d2491e00747124 +SIZE (Test-FailWarnings-0.003.tar.gz) = 13592 diff --git a/devel/p5-Test-FailWarnings/pkg-descr b/devel/p5-Test-FailWarnings/pkg-descr new file mode 100644 index 000000000000..ac1f552f7843 --- /dev/null +++ b/devel/p5-Test-FailWarnings/pkg-descr @@ -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/ diff --git a/devel/p5-Test-FailWarnings/pkg-plist b/devel/p5-Test-FailWarnings/pkg-plist new file mode 100644 index 000000000000..063baaa9cbbc --- /dev/null +++ b/devel/p5-Test-FailWarnings/pkg-plist @@ -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 |