From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4BFkPoO021219 for ; Wed, 11 May 2005 15:46:26 GMT Received: from [62.254.189.226] (helo=snowdrop) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DVtPs-00043B-AC for gentoo-dev@lists.gentoo.org; Wed, 11 May 2005 15:46:32 +0000 Received: from localhost ([127.0.0.1] helo=snowdrop) by snowdrop with esmtp (Exim 4.43) id 1DVtPk-0007KF-Uv for gentoo-dev@lists.gentoo.org; Wed, 11 May 2005 16:46:25 +0100 Date: Wed, 11 May 2005 16:46:21 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Tests for eclasses Message-ID: <20050511164621.673b1159@snowdrop> In-Reply-To: <20050511031927.GB16717@exodus.wit.org> References: <20050510215433.5b90c716@snowdrop> <20050511031927.GB16717@exodus.wit.org> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; i686-pc-linux-gnu) X-Message-Flag: It's a feature, not a bug Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Signature_Wed__11_May_2005_16_46_21_+0100_dR9Drq73AmNCk6SU; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Archives-Salt: 3b308738-0b52-4a7b-af50-71cf61b100b7 X-Archives-Hash: 206851bfc7391d60ce110fee282860f2 --Signature_Wed__11_May_2005_16_46_21_+0100_dR9Drq73AmNCk6SU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 10 May 2005 22:19:27 -0500 Brian Harring wrote: | On Tue, May 10, 2005 at 09:54:33PM +0100, Ciaran McCreesh wrote: | > Is there a standard way of handling testing for utility-type | > eclasses? For versionator I currently have a | > __versionator__test_blah function included in the eclass (source | > versionator.eclass works, it doesn't have any portage-specific | > code), but this is going to get a bit messy when I add in another | > few dozen tests... | >=20 | > Maybe a simple test harness could be added as an option for the new | > eclass / elib setup? | Elaborate on the tests... Best example I can give are the kind of thing that's in versionator already. The tests in the updated version in bug 87157 are probably better than the ones in the tree... --=20 Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm --Signature_Wed__11_May_2005_16_46_21_+0100_dR9Drq73AmNCk6SU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCgijQ96zL6DUtXhERAmLqAJ4j4RspGPbIwB4dZHIbYwpStzZM3gCfUEAL LbxGHiUwm1hz7cfT0SS/yjI= =gRLT -----END PGP SIGNATURE----- --Signature_Wed__11_May_2005_16_46_21_+0100_dR9Drq73AmNCk6SU-- -- gentoo-dev@gentoo.org mailing list