[U-Boot-Users] [RFC PATCH] Add u-boot command regression tests.
Robert Schwebel
r.schwebel at pengutronix.de
Wed Nov 28 18:13:27 CET 2007
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:
> <http://sourceforge.net/projects/pexpect/>
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
More information about the U-Boot
mailing list