
30 Oct
2024
30 Oct
'24
12:53 a.m.
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@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