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 1JcUiu-0004Gh-PR for garchives@archives.gentoo.org; Fri, 21 Mar 2008 00:03:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C791E09E1; Fri, 21 Mar 2008 00:03:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BFC32E09E1 for ; Fri, 21 Mar 2008 00:03:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B69BC66810 for ; Fri, 21 Mar 2008 00:03:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.897 X-Spam-Level: X-Spam-Status: No, score=-1.897 required=5.5 tests=[AWL=0.702, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id y0KLKFUeT6uT for ; Fri, 21 Mar 2008 00:02:55 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id EB3B366425 for ; Fri, 21 Mar 2008 00:02:53 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JcUiZ-0002JC-Nd for gentoo-dev@gentoo.org; Fri, 21 Mar 2008 00:02:43 +0000 Received: from static24-72-115-196.yorkton.accesscomm.ca ([24.72.115.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Mar 2008 00:02:43 +0000 Received: from dirtyepic by static24-72-115-196.yorkton.accesscomm.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Mar 2008 00:02:43 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Ryan Hill Subject: [gentoo-dev] Re: Remaining PMS todo list etc Date: Thu, 20 Mar 2008 18:02:31 -0600 Message-ID: References: <20080319182717.69c0f975@snowcone> <20080320044503.3c29a663@sheridan.genone.homeip.net> 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; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigDB86583A00D4CBD9F669B187" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: static24-72-115-196.yorkton.accesscomm.ca User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.12) Gecko/20080227 Thunderbird/2.0.0.12 Mnenhy/0.7.5.0 In-Reply-To: <20080320044503.3c29a663@sheridan.genone.homeip.net> X-Enigmail-Version: 0.95.6 OpenPGP: id=F9A40662; url=subkeys.pgp.net Sender: news X-Archives-Salt: 2f41915a-a206-43f3-8b40-8fb3df006446 X-Archives-Hash: d7111a2a841444f987d4783ca7bc2f65 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDB86583A00D4CBD9F669B187 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Marius Mauch wrote: > On Wed, 19 Mar 2008 18:32:41 -0600 > Ryan Hill wrote: >> 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. > How about just checking EUID =3D=3D 0 in src_test and skip the tests (w= ith a > ewarn message) if it doesn't match your needs? I thought I remembered someone raising a stink about checking permissions= being=20 a race condition because the condition can change between the checking an= d=20 performing the action. Maybe that was only about write permissions... I= f=20 checking EUID is an acceptable method, it should be relatively simple to = write=20 an eclass to handle the common cases and have ebuilds use that instead of= =20 checking $FEATURES (which i do think is a bug). --=20 fonts, gcc-porting, by design, by neglect mips, treecleaner, for a fact or just for effect wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662 --------------enigDB86583A00D4CBD9F669B187 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFH4vsXiqiDRvmkBmIRCNK/AJ4zPtYOjAeAB+HlZ4dtnOzY9dH9+ACgmtPT P07R82AcbErZjSoU6GHZ/F8= =XC64 -----END PGP SIGNATURE----- --------------enigDB86583A00D4CBD9F669B187-- -- gentoo-dev@lists.gentoo.org mailing list