Trap exit codes, exceptions, output, etc Maintained by:sunpoet@FreeBSD.org Port Added: 10 Sep 2011 06:38:42 Also Listed In:perl5 License: not specified in port
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.
WWW: http://search.cpan.org/dist/Test-Trap/
- Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.
PR: ports/165605
Approved by: portmgr (bapt)
Feature safe: yes (I sure hope so)
- Remove ports that only work with < perl 5.12 (devel/p5-B-Size,
devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200
- Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk
- Other minor cleanups
RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS}
PR: ports/165605
Submitted by: pgollucci (myself)
Approved by: portmgr (linimon)
Exp Run by: linimon
Tested by: make index
- Add p5-Test-Trap 0.2.1
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.
WWW: http://search.cpan.org/dist/Test-Trap/