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 j4AKsf7I000470 for ; Tue, 10 May 2005 20:54:41 GMT Received: from [62.254.189.226] (helo=snowdrop) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DVbkf-0002H9-Jy for gentoo-dev@lists.gentoo.org; Tue, 10 May 2005 20:54:50 +0000 Received: from localhost ([127.0.0.1] helo=snowdrop) by snowdrop with esmtp (Exim 4.43) id 1DVbkX-0004aB-Gr for gentoo-dev@lists.gentoo.org; Tue, 10 May 2005 21:54:41 +0100 Date: Tue, 10 May 2005 21:54:33 +0100 From: Ciaran McCreesh To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] Tests for eclasses Message-ID: <20050510215433.5b90c716@snowdrop> 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_Tue__10_May_2005_21_54_33_+0100_Fhs7cEzPj0wT+Wp5; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Archives-Salt: 3d3f99a5-527c-472e-bc26-3098a8ede372 X-Archives-Hash: 5a715008c1e25c3c3f81f28631885b5c --Signature_Tue__10_May_2005_21_54_33_+0100_Fhs7cEzPj0wT+Wp5 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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... Maybe a simple test harness could be added as an option for the new eclass / elib setup? --=20 Ciaran McCreesh : Gentoo Developer (Vim, Shell tools, Fluxbox, Cron) Mail : ciaranm at gentoo.org Web : http://dev.gentoo.org/~ciaranm --Signature_Tue__10_May_2005_21_54_33_+0100_Fhs7cEzPj0wT+Wp5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCgR+Q96zL6DUtXhERAnSbAKCbKhFO1qB55fylQjC85eZ71RMj4wCglM1E wexUyshiG09Rcecglm2PhsU= =0cXd -----END PGP SIGNATURE----- --Signature_Tue__10_May_2005_21_54_33_+0100_Fhs7cEzPj0wT+Wp5-- -- gentoo-dev@gentoo.org mailing list