BSD Ports

devel/p5-Test-FailWarnings 0.008 MidnightBSD

Add test failures if warnings are caught

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
Apache-2.0
Categories
devel, perl5

Description

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.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-Test-FailWarnings0.008 newestno data-[email protected]-
FreeBSDdevel/p5-Test-FailWarnings0.008_1 newestnone known-[email protected]-
OpenBSDdevel/p5-Test-FailWarnings0.008p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-Test-FailWarnings0.008nb12 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-Test-FailWarnings0.008_1 newestnone known-[email protected]-
HardenedBSDdevel/p5-Test-FailWarnings0.008_1 newestno data-[email protected]-
GhostBSDdevel/p5-Test-FailWarnings0.008_1 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Test-FailWarnings

From mports:

cd /usr/mports/devel/p5-Test-FailWarnings && make install clean

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

RUN_DEPENDS=	p5-Test-FailWarnings>0:devel/p5-Test-FailWarnings

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Test/FailWarnings.pm
  • %%PERL5_MAN3%%/Test::FailWarnings.3.gz
distinfo 1
FileSizeSHA256
Test-FailWarnings-0.008.tar.gz13734da34ef9029f6849d6026201d49127d054ee6ac4b979c82210315f5721964a96f
Master sites 1
  • CPAN