[U-Boot-Users] [RFC PATCH] Add u-boot command regression tests.

Wolfgang Denk wd at denx.de
Mon Nov 26 15:09:35 CET 2007


Hi,

in message <474ACEEC.1080801 at 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.

> My experience with expect is that it worked well for simple cases, but 
> when I started matching more patterns and more complex patterns, it 
> would get harder and harder to match reliably.  Also, its asynchronous 
> timing-based capture (which causes "capture breaks" in different places 
> when you least expect it) drove me crazy.  Then to debug the pattern 
> matching (or not matching, or mismatching, as the case usually was) was 
> difficult.
> 
> Having said that, that was a few years ago and maybe I'm smarter now...

I'm open to all suggestions for improvement, but there is  a  certain
complexity  in  the  setup  itself,  and I cannot say how much can be
avoided by using other tools.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If you believe that feeling bad or worrying long enough will change a
past or future event, then you are residing on another planet with  a
different reality system.




More information about the U-Boot mailing list