From: Robert Schwebel Date: Tue, 27 Nov 2007 23:46:38 +0100 Subject: [U-Boot-Users] [RFC PATCH] Add u-boot command regression tests. In-Reply-To: <20071126140935.58BD9247C1@gemini.denx.de> References: <474ACEEC.1080801@ge.com> <20071126140935.58BD9247C1@gemini.denx.de> Message-ID: <20071127224638.GU3851@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Nov 26, 2007 at 03:09:35PM +0100, Wolfgang Denk wrote: > in message <474ACEEC.1080801@ge.com> you wrote: > > > > I've used tk/tcl/expect and am not wild about them. The older scripting > > languages are so.... 70s. ;-) I haven't used python much, but I've come > > to like it a lot, kind of a rational perl. :-/ > > I think I know what you mean. Same here, we are through all these iterations as well: - we've written a test suite in python with xml specs (oo design, but very complex in the end, without the advantages we expected from an oo language) - expect/tcl based test suite; causes brain cancer because of tcl Now we do the u-boot tests/scripting with the tcl/expect stuff and all other Linux test suites in normal shell scripts, remote-controlled via ssh. While the latter one has finally turned out to be a good way to write test cases, we think about adding something like a dbus module to u-boot-v2, which would make it possible to do real and well defined RPC between a host and u-boot. rsc -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9