Path to this page:
Next | Query returned 3 messages, browsing 1 to 10 | previous
CVS Commit History:
2008-06-25 11:20:57 by abs | Files touched by this commit (89) | |
Log message:
The following perl packages are in main pkgsrc. Remove from wip and update
DEPENDS lines as appropriate.
p5-Algorithm-C3
p5-CGI-Simple
p5-Class-Accessor-Grouped
p5-Class-C3-XS
p5-Class-C3
p5-Geo-Distance
p5-HTTP-Body
p5-HTTP-Request-AsCGI
p5-MRO-Compat
p5-PAR
p5-RRDTool-OO
p5-SQL-Abstract-Limit
p5-Set-Object
p5-Template-Timer
p5-Test-Differences
p5-Test-MockObject
p5-Test-use-ok
p5-Tree-Simple-VisitorFactory
p5-UNIVERSAL-can
p5-UNIVERSAL-isa
p5-Unicode-Map
p5-Unicode-MapUTF8
|
2008-05-30 14:22:19 by abs | Files touched by this commit (64) |
Log message:
Remove unnecessary (empty) PLIST files for p5-* packages
|
2006-04-07 20:18:01 by Roman Kulik | Files touched by this commit (4) | |
Log message:
According to the Test::More documentation, it is recommended to run
use_ok() inside a BEGIN block, so functions are exported at
compile-time and prototypes are properly honored.
That is, instead of writing this:
use_ok( 'Some::Module' );
use_ok( 'Other::Module' );
One should write this:
BEGIN { use_ok( 'Some::Module' ); }
BEGIN { use_ok( 'Other::Module' ); }
However, people often either forget to add BEGIN, or mistakenly group
use_ok with other tests in a single BEGIN block, which can create subtle
differences in execution order.
With this module, simply change all use_ok in test scripts to use ok,
and they will be executed at BEGIN time. The explicit space after use
makes it clear that this is a single compile-time action.
|
Next | Query returned 3 messages, browsing 1 to 10 | previous