Port details |
- p5-Test-use-ok Alternative to Test::More::use_ok
- 0.11_1 devel
=3 0.11_1Version of this port present on the latest quarterly branch.
- DEPRECATED: Part of devel/p5-Test-Simple (use that instead), and included in perl 5.22
This port expired on: 2015-07-24
- Maintainer: perl@FreeBSD.org
- Port Added: 2006-03-26 21:21:22
- Last Update: 2015-07-25 20:46:49
- SVN Revision: 392907
- People watching this port, also watch:: p5-Algorithm-C3, p5-XML-Writer, screen, p5-Time-Piece, p5-IO-Multiplex
- Also Listed In: perl5
- License: not specified in port
- WWW:
- http://search.cpan.org/dist/Test-use-ok/
- Description:
- 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.
WWW: http://search.cpan.org/dist/Test-use-ok/
-
cgit ¦ GitHub ¦ GitHub ¦ GitLab ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- p5-Test-use-ok>0:devel/p5-Test-use-ok
- No installation instructions:
- This port has been deleted.
- PKGNAME: p5-Test-use-ok
- Flavors: there is no flavor information for this port.
- distinfo:
- There is no distinfo for this port.
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5.20.2 : lang/perl5.20
- Runtime dependencies:
-
- perl5.20.2 : lang/perl5.20
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- N/A
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.11_1 25 Jul 2015 20:46:49 |
rene |
Remove expired port:
2015-07-24 devel/p5-Test-use-ok: Part of devel/p5-Test-Simple (use that
instead), and included in perl 5.22 |
0.11_1 24 Jun 2015 15:49:37 |
adamw |
Mark p5-Test-Tester and p5-Test-use-ok deprecated (as they are now a part of
p5-Test-Simple), and expire them in 30 days. Add conflicts between them and
p5-Test-Simple. While here, remove some trailing whitespace from p5-Test-use-ok.
Thanks to sunpoet for identifying the problem here. |
0.11_1 26 Nov 2014 13:08:38 |
mat |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
0.11 27 Oct 2014 10:55:59 |
bapt |
Cleanup plist |
0.11 31 Oct 2013 14:31:31 |
vanilla |
Support STAGEDIR. |
0.11 20 Sep 2013 17:13:47 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
0.11 02 Aug 2013 18:52:11 |
mat |
- Convert to new perl framework
- Trim Makefile header
- Remove MAKE_JOBS_SAFE=yes, it's the default. |
0.11 31 Dec 2012 16:19:46 |
tobez |
Update to 0.11.
Changes: http://search.cpan.org/dist/Test-use-ok/Changes |
0.02 17 May 2011 11:05:02 |
jadawin |
- Cleaning MD5 in perl@'s ports.
Approved by: erwin@ (portmgr) |
0.02 16 Aug 2009 09:22:05 |
linimon |
Reset lbr@FreeBSD.org due to maintainer-timeouts and no response to email.
Hat: portmgr |
0.02 17 Apr 2008 14:30:31 |
araujo |
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav) |
0.02 03 Feb 2007 13:07:20 |
lbr |
From submitter:
- allow build this port on Perl 5.6.x
(Since Perl 5.005_03 is no longer supported after FreeBSD 4.x EoL, I stop
testing p5-* under Perl 5.005_03)
- remove dependency of p5-Test-Simple since it's already shipped within Perl
5.6.x or above
PR: 108594
Submitted by: Yen-Ming Lee <leeym@freebsd.org> |
0.02 05 Jan 2007 08:50:31 |
lbr |
Update to 0.02
PR: 106177
Submitted by: Christopher Boumenot <boumenot@gmail.com> |
0.01 01 May 2006 13:52:00 |
lbr |
Changing email-address on my 80 ports.
Approved by: erwin (mental) |
0.01 26 Mar 2006 21:20:53 |
sem |
devel/p5-Test-use-ok, Alternative to Test::More::use_ok
PR: ports/94952
Submitted by: Lars Balker Rasmussen <lars@balker.dk> |