BSD Ports

devel/p5-Test-Trap 0.3.5 FreeBSD

Trap exit codes, exceptions, output, etc

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
39.0 KiB, 83.3 KiB installed

Description

Test::Trap is primarily (but not exclusively) for use in test scripts: a block eval on steroids, configurable and extensible, but by default trapping (Perl) STDOUT, STDERR, warnings, exceptions, would-be exit codes, and return values from boxed blocks of test code.

The values collected by the latest trap can then be queried or tested through a special trap object.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Test-Trap0.3.5
OpenBSDdevel/p5-Test-Trap0.3.5
NetBSDdevel/p5-Test-Trap0.3.5nb4
DragonFlydevel/p5-Test-Trap0.3.5
MidnightBSDdevel/p5-Test-Trap0.3.5
HardenedBSDdevel/p5-Test-Trap0.3.5
GhostBSDdevel/p5-Test-Trap0.3.5

Install

Binary package:

pkg install p5-Test-Trap

From the ports tree:

cd /usr/ports/devel/p5-Test-Trap/ && make install clean

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

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

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.3.50.3.50.3.50.3.50.3.5
FreeBSD:14:quarterly0.3.50.3.5n/a0.3.50.3.5
FreeBSD:15:latest0.3.50.3.5n/a0.3.50.3.5
FreeBSD:15:quarterly0.3.50.3.5n/an/an/a
FreeBSD:16:latest0.3.50.3.5n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

Test 1

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

Build dependencies 2
Run dependencies 2

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 10
  • %%SITE_PERL%%/Test/Trap.pm
  • %%SITE_PERL%%/Test/Trap/Builder.pm
  • %%SITE_PERL%%/Test/Trap/Builder/PerlIO.pm
  • %%SITE_PERL%%/Test/Trap/Builder/SystemSafe.pm
  • %%SITE_PERL%%/Test/Trap/Builder/TempFile.pm
  • %%PERL5_MAN3%%/Test::Trap.3.gz
  • %%PERL5_MAN3%%/Test::Trap::Builder.3.gz
  • %%PERL5_MAN3%%/Test::Trap::Builder::PerlIO.3.gz
  • %%PERL5_MAN3%%/Test::Trap::Builder::SystemSafe.3.gz
  • %%PERL5_MAN3%%/Test::Trap::Builder::TempFile.3.gz
distinfo 1
FileSizeSHA256
Test-Trap-v0.3.5.tar.gz5560054f99016562b5b1d72110100f1f2be437178cdf84376f495ffd0376f1d7ecb9a
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.