BSD Ports

devel/p5-Test2-Plugin-NoWarnings 0.10 MidnightBSD

Fail if tests warn

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic2
Categories
devel, perl5

Description

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.

In the other systems

The newest version among them is 0.10, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Test2-Plugin-NoWarnings0.10 newestno data-[email protected]-
FreeBSDdevel/p5-Test2-Plugin-NoWarnings0.10 newestnone known-[email protected]-
OpenBSDdevel/p5-Test2-Plugin-NoWarnings0.10p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-Test2-Plugin-NoWarnings0.10nb3 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Test2-Plugin-NoWarnings0.10 newestnone known-[email protected]-
HardenedBSDdevel/p5-Test2-Plugin-NoWarnings0.10 newestno data-[email protected]-
GhostBSDdevel/p5-Test2-Plugin-NoWarnings0.10 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Test2-Plugin-NoWarnings

From mports:

cd /usr/mports/devel/p5-Test2-Plugin-NoWarnings && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Test2-Plugin-NoWarnings>0:devel/p5-Test2-Plugin-NoWarnings

Dependencies

As this port's Makefile names them.

Test 2

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 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
distinfo 1
FileSizeSHA256
Test2-Plugin-NoWarnings-0.10.tar.gz27614c97cb1122cc6e3e4a079059da71e12f65760bfb0671d19d25a7ec7c5f1f240fb
Master sites 1
  • CPAN