diff options
Diffstat (limited to 'devel/p5-Test-FailWarnings')
-rw-r--r-- | devel/p5-Test-FailWarnings/DESCR | 6 | ||||
-rw-r--r-- | devel/p5-Test-FailWarnings/Makefile | 18 | ||||
-rw-r--r-- | devel/p5-Test-FailWarnings/distinfo | 5 |
3 files changed, 29 insertions, 0 deletions
diff --git a/devel/p5-Test-FailWarnings/DESCR b/devel/p5-Test-FailWarnings/DESCR new file mode 100644 index 00000000000..b657c8cd338 --- /dev/null +++ b/devel/p5-Test-FailWarnings/DESCR @@ -0,0 +1,6 @@ +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. + +Just as with Test::NoWarnings, this does not catch warnings if other things +localize $SIG{__WARN__}, as this is designed to catch unhandled warnings. diff --git a/devel/p5-Test-FailWarnings/Makefile b/devel/p5-Test-FailWarnings/Makefile new file mode 100644 index 00000000000..82d7b45fb53 --- /dev/null +++ b/devel/p5-Test-FailWarnings/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1 2013/07/03 07:22:45 sno Exp $ + +DISTNAME= Test-FailWarnings-0.005 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Test-FailWarnings/ +COMMENT= Add test failures if warnings are caught +LICENSE= apache-2.0 + +BUILD_DEPENDS+= p5-Capture-Tiny>=0.12:../../devel/p5-Capture-Tiny + +PERL5_PACKLIST= auto/Test/FailWarnings/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Test-FailWarnings/distinfo b/devel/p5-Test-FailWarnings/distinfo new file mode 100644 index 00000000000..46368e0fe05 --- /dev/null +++ b/devel/p5-Test-FailWarnings/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/07/03 07:22:45 sno Exp $ + +SHA1 (Test-FailWarnings-0.005.tar.gz) = 1024aeb9a442dc1c35bae16fa7f4c54cb140646b +RMD160 (Test-FailWarnings-0.005.tar.gz) = a5483e285755e5494b3004888a9fb4d06e7c543c +Size (Test-FailWarnings-0.005.tar.gz) = 13799 bytes |