From: Robert Schwebel Date: Wed, 28 Nov 2007 18:13:27 +0100 Subject: [U-Boot-Users] [RFC PATCH] Add u-boot command regression tests. In-Reply-To: <474CD328.7090109@gmail.com> References: <474ACEEC.1080801@ge.com> <20071126140935.58BD9247C1@gemini.denx.de> <20071127224638.GU3851@pengutronix.de> <474CD328.7090109@gmail.com> Message-ID: <20071128171327.GV3851@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 Tue, Nov 27, 2007 at 09:32:08PM -0500, gvb.uboot wrote: > Hmmm, I seem to have hit a resonance. :-) > More background trivia... my weekend experiment was using python-serial. > I chose that and used it to capture whole serial transactions (waited > until it appeared no more serial characters were being sent) so I could > then use python regexp matching to do simpler, more elaborate, and more > sane (yes, all three) pattern matching than what I was able to do with > expect due to expect breaking the serial stream in semi-random time > based chunks. > > Another option that I have not experimented with is a python-based expect: > That was what we used; two python sub-versions later they had changed some internal interfaces and everything stopped working. Nothing that looks like a stable platform to depend on ... Robert -- 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