From: Wolfgang Denk Date: Mon, 26 Nov 2007 15:09:35 +0100 Subject: [U-Boot-Users] [RFC PATCH] Add u-boot command regression tests. In-Reply-To: Your message of "Mon, 26 Nov 2007 08:49:32 EST." <474ACEEC.1080801@ge.com> Message-ID: <20071126140935.58BD9247C1@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, 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. > 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.