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 1K6hXU-0007Kk-7n for garchives@archives.gentoo.org; Thu, 12 Jun 2008 07:48:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C432AE0456; Thu, 12 Jun 2008 07:48:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id A02F0E0456 for ; Thu, 12 Jun 2008 07:48:06 +0000 (UTC) Received: from gentoo.org (c-71-193-142-160.hsd1.or.comcast.net [71.193.142.160]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1825E67525 for ; Thu, 12 Jun 2008 07:48:06 +0000 (UTC) Date: Thu, 12 Jun 2008 00:48:01 -0700 From: Donnie Berkholz To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] A unit-testing prototype Message-ID: <20080612074801.GC9607@comet> References: <20080526094710.GB11722@comet> 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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080526094710.GB11722@comet> User-Agent: Mutt/1.5.17 (2007-11-01) X-Archives-Salt: cb95fb3b-6ce8-4a34-9dd2-c50541cafac2 X-Archives-Hash: 2bf52f0871e47cc03719b53dcc64457d On 02:47 Mon 26 May , Donnie Berkholz wrote: > A while back, vapier added some tests for the toolchain-funcs eclass to > /usr/portage/eclass/tests/. I really like the idea, and I recently > discovered an xUnit-style unit-testing framework for shell scripts > called ShUnit2. I played with it a little and made a couple of > prototypes. Take a look and see what you think. I've heard two positive comments on IRC and nothing else, so I'm proceeding with this. I'll be adding these to the existing /usr/portage/eclass/tests/, adding shunit2 to the tree, and beginning some work looking into unit tests for portage's bash code. Probably some for app-shells/bash would also be useful, since we seem to pretty consistently run into weird breakage on new versions. Thanks, Donnie -- gentoo-dev@lists.gentoo.org mailing list