BSD Ports

devel/p5-Test-FailWarnings 0.008_1 FreeBSD

Add test failures if warnings are caught

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
APACHE20
Categories
devel, perl5
Package size
9.6 KiB, 18.0 KiB installed

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

SystemPortVersion
FreeBSDdevel/p5-Test-FailWarnings0.008_1
OpenBSDdevel/p5-Test-FailWarnings0.008p1
NetBSDdevel/p5-Test-FailWarnings0.008nb12
DragonFlydevel/p5-Test-FailWarnings0.008_1
MidnightBSDdevel/p5-Test-FailWarnings0.008
HardenedBSDdevel/p5-Test-FailWarnings0.008_1
GhostBSDdevel/p5-Test-FailWarnings0.008_1

Install

Binary package:

pkg install p5-Test-FailWarnings

From the ports tree:

cd /usr/ports/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

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.008_10.008_10.008_10.008_10.008_1
FreeBSD:14:quarterly0.008_10.008_1n/a0.008_10.008_1
FreeBSD:15:latest0.008_10.008_1n/a0.008_10.008_1
FreeBSD:15:quarterly0.008_10.008_1n/an/an/a
FreeBSD:16:latest0.008_10.008_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2
Required by 1

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

Commit history 0

No commits in the history this site was built from.