From owner-freebsd-perl@FreeBSD.ORG Sun Jul 2 01:57:22 2006 Return-Path: X-Original-To: freebsd-perl@freebsd.org Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E06AD16A554; Sun, 2 Jul 2006 01:57:22 +0000 (UTC) (envelope-from leeym@utopia.leeym.com) Received: from msr20.hinet.net (msr20.hinet.net [168.95.4.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D4254585B; Sat, 1 Jul 2006 23:34:01 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by msr20.hinet.net (8.9.3/8.9.3) with ESMTP id HAA18814; Sun, 2 Jul 2006 07:33:58 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 40FE9B29C6D; Sun, 2 Jul 2006 07:33:58 +0800 (CST) X-Virus-Scanned: by amavisd-new at leeym.com Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yDJEjh5ZV3p4; Sun, 2 Jul 2006 07:33:49 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id B2C0FB29C82; Sun, 2 Jul 2006 07:33:48 +0800 (CST) Date: Sun, 2 Jul 2006 07:33:48 +0800 From: Yen-Ming Lee To: Mathieu Arnold Message-ID: <20060701233348.GA76454@utopia.leeym.com> References: <44A6D67B.4060400@freebsd.org> <486033EEA249A687539CAA1B@[192.168.1.5]> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <486033EEA249A687539CAA1B@[192.168.1.5]> X-Fingerprint: FE 7E 04 56 FC D7 24 21 B9 3B 53 06 E8 93 B5 81 X-Public-Key: http://www.leeym.com/pubkey.asc User-Agent: Mutt/1.5.11 Cc: freebsd-perl@freebsd.org Subject: Re: Perl Ports and 'make test' X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jul 2006 01:57:23 -0000 --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--