public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [RFC PATCH] Add u-boot command regression tests.
Date: Wed, 28 Nov 2007 18:13:27 +0100	[thread overview]
Message-ID: <20071128171327.GV3851@pengutronix.de> (raw)
In-Reply-To: <474CD328.7090109@gmail.com>

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

  reply	other threads:[~2007-11-28 17:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-24  1:03 [U-Boot-Users] [RFC PATCH] Add u-boot command regression tests Jerry Van Baren
2007-11-25 23:29 ` Wolfgang Denk
2007-11-26 13:49   ` Jerry Van Baren
2007-11-26 14:09     ` Wolfgang Denk
2007-11-27 22:46       ` Robert Schwebel
2007-11-28  2:32         ` gvb.uboot
2007-11-28 17:13           ` Robert Schwebel [this message]
2007-11-27 23:30     ` Kumar Gala
2007-11-28  0:58       ` gvb.uboot
2007-11-28 18:11     ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071128171327.GV3851@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox