Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2006 07:33:48 +0800
From:      Yen-Ming Lee <leeym@freebsd.org>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        freebsd-perl@freebsd.org
Subject:   Re: Perl Ports and 'make test'
Message-ID:  <20060701233348.GA76454@utopia.leeym.com>
In-Reply-To: <486033EEA249A687539CAA1B@[192.168.1.5]>
References:  <44A6D67B.4060400@freebsd.org> <486033EEA249A687539CAA1B@[192.168.1.5]>

next in thread | previous in thread | raw e-mail | index | archive | help

--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=big5
Content-Disposition: inline

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

--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iQCVAwUBRKcGXMnMx0NetS5RAQJS/AQAzOKwjQw3kWq5uA206nDwWG13w0qBE+f6
VYw3iEYaJ8KwGoLTABPOOr2hRSmwENI4j7mF7Eafc/RvvpMiNJVbNILDzFTW1F9t
ED759IsLeNS77blOrxwcN46Zyil+XQFcf4gf5vA1R7gNVimd9yaxKQrMgQwt8ItE
GDieYM9v8Fo=
=pEpf
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060701233348.GA76454>