From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JcFXY-0007R8-J6 for garchives@archives.gentoo.org; Thu, 20 Mar 2008 07:50:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D25BE08FC; Thu, 20 Mar 2008 07:49:59 +0000 (UTC) Received: from mo-p07-ob.rzone.de (mo-p07-ob.rzone.de [81.169.146.189]) by pigeon.gentoo.org (Postfix) with ESMTP id 1924EE08FC for ; Thu, 20 Mar 2008 07:49:58 +0000 (UTC) X-RZG-CLASS-ID: mo07 X-RZG-AUTH: hXn+rC1arvT7Lf9I/zKDqjrgIkrokD1Qxy5bIqfbp9I10BMNL35Kum+fVbT8+ijLtsxAGXA+9TY= Received: from localhost (u-5-247.vpn.RWTH-Aachen.DE [137.226.101.247]) by post.webmailer.de (mrclete mo35) (RZmta 16.14) with ESMTP id a00134k2K4sf5W for ; Thu, 20 Mar 2008 08:49:58 +0100 (MET) (envelope-from: ) Date: Thu, 20 Mar 2008 08:52:40 +0100 From: Christian Faulhammer To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Re: Remaining PMS todo list etc Message-ID: <20080320085240.47f275f9@gentoo.org> In-Reply-To: <20080320074158.7b889c63@snowcone> References: <20080319182717.69c0f975@snowcone> <20080320074158.7b889c63@snowcone> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/s.kdNBj9yUIqAvVK/kg54J6"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: f4e30cb6-4850-4e17-b110-00467759094d X-Archives-Hash: 319bafddb4a605e9363a8cf42dfc03c7 --Sig_/s.kdNBj9yUIqAvVK/kg54J6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, Ciaran McCreesh : > On Wed, 19 Mar 2008 18:32:41 -0600 > Ryan Hill wrote: > > > * 174335: Some ebuild use FEATURES. Can we get them to stop doing > > > that, or do we have to force package managers to emulate it? > >=20 > > We seriously need a PM-independent way of saying "run the > > testsuite", "run the testsuite with user privledges", and "run the > > testsuite with root privledges if you can, otherwise forget it". > > Also required is the ability to make test failures non-fatal on a > > per-package basis, though this probably has nothing to do with the > > PMS. >=20 > Sounds like you need to write your own src_test for these situations. =20 if has userpriv ${FEATURES} && ! has usersandbox ${FEATURES};then make check-local || die "test suite failed" else ewarn "Activate FEATURES=3Duserpriv and deactivate \ FEATURES=3Dusersandbox to run testsuite." fi ^ That's mlocate, mysql also tests for FEATURES. V-Li --=20 Christian Faulhammer, Gentoo Lisp project , #gentoo-lisp on FreeNode --Sig_/s.kdNBj9yUIqAvVK/kg54J6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFH4hfINQqtfCuFneMRAgLGAJ9JG/dOsG2DULgOhQGlp8ZpyJF5WACdEeq2 Bakmnn0g2WfHf7vtlQPuE6Q= =gjBy -----END PGP SIGNATURE----- --Sig_/s.kdNBj9yUIqAvVK/kg54J6-- -- gentoo-dev@lists.gentoo.org mailing list