From owner-freebsd-perl@FreeBSD.ORG Sat Jul 1 23:40:23 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 4D53416A4A7; Sat, 1 Jul 2006 23:40:23 +0000 (UTC) (envelope-from leeym@utopia.leeym.com) Received: from msr19.hinet.net (msr19.hinet.net [168.95.4.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id A60624586A; Sat, 1 Jul 2006 23:40:19 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by msr19.hinet.net (8.9.3/8.9.3) with ESMTP id HAA13685; Sun, 2 Jul 2006 07:39:59 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id D7A01B29CE6; Sun, 2 Jul 2006 07:39: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 0FjoB1p0IODO; Sun, 2 Jul 2006 07:39:42 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 04924B29CB3; Sun, 2 Jul 2006 07:39:41 +0800 (CST) Date: Sun, 2 Jul 2006 07:39:41 +0800 From: Yen-Ming Lee To: Lars Balker Rasmussen Message-ID: <20060701233941.GB76454@utopia.leeym.com> References: <44A6D67B.4060400@freebsd.org> <20060701225715.GJ15291@tux.nerdheaven.dk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline In-Reply-To: <20060701225715.GJ15291@tux.nerdheaven.dk> 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: Sat, 01 Jul 2006 23:40:23 -0000 --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=big5 Content-Disposition: inline On Sun, Jul 02, 2006 at 12:57:15AM +0200, Lars Balker Rasmussen wrote: > On Sat, Jul 01, 2006 at 02:09:31PM -0600, Aaron Dalton wrote: > > 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? > > To move on a tangent to this: > > There's a problem with dependencies - ideally cpan-modules would introduce > the possibility of installing without testing, and splitting dependencies > into run, build and test. > > For some of my ports, a LOT of modules get pulled in, which have no other > purpose than to support a test-suite we don't run. I've considered patching > their {Build,Makefile}.PL to not require these modules, but it'll take a > lot of work... > > A similar split of run/build/test in ports could be helpful, but without > cpan doing the same, we'd probably not get anywhere fast. > > (Blame erwins beer for this stream-of-consciousness, and good night :) ) I split run/build/test dependencies in my ports, so the dependencies section of my ports will look like this: RUN_DEPENDS= ... the run dependencies ... BUILD_DEPENDS= ${RUN_DEPENDS} BUILD_DEPENDS+= ... the build/test dependencies, i.e. p5-Test-Simple ... -- Yen-Ming Lee [utf7:+Z05fZWYO] | KeyID:0x5EB52E51 | Taipei, Taiwan --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iQCVAwUBRKcHvcnMx0NetS5RAQJCzAP/XaooY77eDPKsZILfYqpbhOfksgUWF0pi UtUVXUogPwAUfPsZCktxjx8iYFgGB9tmBkF7pJ4fib72vbUxPfXvwZkn4IMbacMz 9PcghuEKxaAjPUlftT9UrAsXNT5hcNq6i/tD9jWEgsHgupHZ87MYtOti7iMY6eaS djJHZP7Wviw= =32L8 -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a--