pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/p5-Test-FailWarnings Adding package for CPAN dis...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b3e96f0c9d6b
branches: trunk
changeset: 620880:b3e96f0c9d6b
user: sno <sno%pkgsrc.org@localhost>
date: Wed Jul 03 07:22:45 2013 +0000
description:
Adding package for CPAN distribution Test-FailWarnings version 0.005 into
devel/p5-Test-FailWarnings.
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.
diffstat:
devel/p5-Test-FailWarnings/DESCR | 6 ++++++
devel/p5-Test-FailWarnings/Makefile | 18 ++++++++++++++++++
devel/p5-Test-FailWarnings/distinfo | 5 +++++
3 files changed, 29 insertions(+), 0 deletions(-)
diffs (41 lines):
diff -r a560366cc6d7 -r b3e96f0c9d6b devel/p5-Test-FailWarnings/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-FailWarnings/DESCR Wed Jul 03 07:22:45 2013 +0000
@@ -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 -r a560366cc6d7 -r b3e96f0c9d6b devel/p5-Test-FailWarnings/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-FailWarnings/Makefile Wed Jul 03 07:22:45 2013 +0000
@@ -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@localhost
+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 -r a560366cc6d7 -r b3e96f0c9d6b devel/p5-Test-FailWarnings/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Test-FailWarnings/distinfo Wed Jul 03 07:22:45 2013 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index