Perl Ports and 'make test'

Yen-Ming Lee leeym at freebsd.org
Sun Jul 2 01:57:23 UTC 2006


On Sat, Jul 01, 2006 at 11:32:07PM +0200, Mathieu Arnold wrote:
> +-Le 01/07/2006 14:09 -0600, Aaron Dalton a dit :
> | I did a quick search of the mailing list archives and didn't see any
> | postings on this matter (which surprised me actually).  Is anybody
> | working on a way to incorporate Perl's 'make test' procedure into the
> | port building framework?  Has this been discussed to death somewhere of
> | which I am not aware?  I'm inexperienced, but willing to learn so, is
> | there something I can do to help?
> 
> Well, you could add a :
> regression-test:
>         @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS}
> ${MAKEFILE} ${MAKE_ARGS} test)
> or
>         @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD}
> ${MAKE_ARGS} test)
> 
> So that it gets picked up by tinderbox, I've been thinking about it, but I
> fear that it'd be a bit too troublesome :-)

I tried something similar before, even submitted a PR for it.

But later I got feedbacks that the test must run under some situation,
for example, set environment variables to indicate the database (DBD-*),
or to run some daemon or process before testing (X, or memcached ...)

So, I gave up and closed that PR, and update my own package-building script
to run 'make test' for p5-* ports. :p
-- 
Yen-Ming Lee [utf7:+Z05fZWYO] | KeyID:0x5EB52E51 | Taipei, Taiwan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-perl/attachments/20060702/c9c5cb15/attachment.pgp


More information about the freebsd-perl mailing list