ec69205bc1
In general, your tests shouldn't produce warnings. This modules causes any warnings to be captured and stored. It automatically adds an extra test that will run when your script ends to check that there were no warnings. If there were any warnings, the test will give a "not ok" and diagnostics of where, when, and what the warning was, including a stack trace of what was going on when it occurred. If some of your tests are supposed to produce warnings then you should be capturing and checking them with Test::Warn, that way Test::NoWarnings will not see them and so not complain.
18 lines
564 B
Makefile
18 lines
564 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2005/11/23 22:00:02 wiz Exp $
|
|
|
|
DISTNAME= Test-NoWarnings-0.082
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Test-NoWarnings/
|
|
COMMENT= Perl5 module to make sure you didn't emit any warnings while testing
|
|
|
|
DEPENDS+= p5-Test-Tester>=0.103:../../devel/p5-Test-Tester
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/Test/NoWarnings/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|