[PATCH v7 06/11] test: Improve handling of sending commands

Simon Glass sjg at chromium.org
Thu Oct 31 19:02:06 CET 2024


Hi Tom,

On Wed, 30 Oct 2024 at 00:53, Tom Rini <trini at konsulko.com> wrote:
>
> On Wed, Oct 09, 2024 at 07:51:40PM -0600, Simon Glass wrote:
>
> > We expect commands to be echoed and this should happen quite quickly,
> > since U-Boot is sitting at the prompt waiting for a command.
> >
> > Reduce the timeout for this situation. Try to produce a more useful
> > error message when something goes wrong. Also handle the case where the
> > connection has gone away since the last command was issued.
> >
> > Signed-off-by: Simon Glass <sjg at chromium.org>
> > ---
> >
> > (no changes since v1)
> >
> >  test/py/u_boot_console_base.py | 35 ++++++++++++++++++++--------------
> >  1 file changed, 21 insertions(+), 14 deletions(-)
>
> This looks good and I wish you had refactored the series to include this
> (as well as patch #7) in the generic test/py improvements series.

Good, well let's get this series in and we will both be happy :-)

Regards,
Simon


More information about the U-Boot mailing list