[PATCH v7 06/11] test: Improve handling of sending commands
Tom Rini
trini at konsulko.com
Wed Oct 30 00:53:24 CET 2024
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.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20241029/d38e63a6/attachment.sig>
More information about the U-Boot
mailing list