svn commit: r422802 - in head/devel: . p5-Test2-Plugin-NoWarnings
Wen Heping
wen at FreeBSD.org
Tue Sep 27 06:47:13 UTC 2016
Author: wen
Date: Tue Sep 27 06:47:11 2016
New Revision: 422802
URL: https://svnweb.freebsd.org/changeset/ports/422802
Log:
Loading this plugin causes your tests to fail if there any
warnings while they run. Each warning generates a new failing
test and the warning content is outputted via diag.
This module uses $SIG{__WARN__}, so if the code you're testing
sets this, then this module will stop working.
WWW: http://search.cpan.org/dist/Test2-Plugin-NoWarnings/
Added:
head/devel/p5-Test2-Plugin-NoWarnings/
head/devel/p5-Test2-Plugin-NoWarnings/Makefile (contents, props changed)
head/devel/p5-Test2-Plugin-NoWarnings/distinfo (contents, props changed)
head/devel/p5-Test2-Plugin-NoWarnings/pkg-descr (contents, props changed)
head/devel/p5-Test2-Plugin-NoWarnings/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Tue Sep 27 03:30:30 2016 (r422801)
+++ head/devel/Makefile Tue Sep 27 06:47:11 2016 (r422802)
@@ -3364,6 +3364,7 @@
SUBDIR += p5-Test-YAML-Meta
SUBDIR += p5-Test-YAML-Valid
SUBDIR += p5-Test-utf8
+ SUBDIR += p5-Test2-Plugin-NoWarnings
SUBDIR += p5-Test2-Suite
SUBDIR += p5-Text-Levenshtein
SUBDIR += p5-Text-Levenshtein-Damerau
Added: head/devel/p5-Test2-Plugin-NoWarnings/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Test2-Plugin-NoWarnings/Makefile Tue Sep 27 06:47:11 2016 (r422802)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= Test2-Plugin-NoWarnings
+PORTVERSION= 0.02
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:DROLSKY
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= perl at FreeBSD.org
+COMMENT= Fail if tests warn
+
+LICENSE= ART20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= perl5
+USE_PERL5= configure
+
+.include <bsd.port.mk>
Added: head/devel/p5-Test2-Plugin-NoWarnings/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Test2-Plugin-NoWarnings/distinfo Tue Sep 27 06:47:11 2016 (r422802)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1474958024
+SHA256 (Test2-Plugin-NoWarnings-0.02.tar.gz) = 38cf62b0c8bea7cb6cbf02543e35ac43c5fe5921ad541b2c55ba240e28731749
+SIZE (Test2-Plugin-NoWarnings-0.02.tar.gz) = 22379
Added: head/devel/p5-Test2-Plugin-NoWarnings/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Test2-Plugin-NoWarnings/pkg-descr Tue Sep 27 06:47:11 2016 (r422802)
@@ -0,0 +1,8 @@
+Loading this plugin causes your tests to fail if there any
+warnings while they run. Each warning generates a new failing
+test and the warning content is outputted via diag.
+
+This module uses $SIG{__WARN__}, so if the code you're testing
+sets this, then this module will stop working.
+
+WWW: http://search.cpan.org/dist/Test2-Plugin-NoWarnings/
Added: head/devel/p5-Test2-Plugin-NoWarnings/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Test2-Plugin-NoWarnings/pkg-plist Tue Sep 27 06:47:11 2016 (r422802)
@@ -0,0 +1,4 @@
+%%SITE_PERL%%/Test2/Event/Warning.pm
+%%SITE_PERL%%/Test2/Plugin/NoWarnings.pm
+%%PERL5_MAN3%%/Test2::Event::Warning.3.gz
+%%PERL5_MAN3%%/Test2::Plugin::NoWarnings.3.gz
More information about the svn-ports-head
mailing list