]> git.baikalelectronics.ru Git - uboot.git/commit
test/py: Handle expected reboot while booting sandbox
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Wed, 16 Feb 2022 06:16:02 +0000 (15:16 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 26 Feb 2022 06:37:01 +0000 (07:37 +0100)
commitf16a296e6fad45c551242d857e4b35ccec69fd65
tree83707f2f2ea88754c9ed5eabd0be57ab019a34e1
parentf37699241e4f44dcd6477e24c3480b365bea7212
test/py: Handle expected reboot while booting sandbox

Add expected_reset optional argument to ConsoleBase::ensure_spawned(),
ConsoleBase::restart_uboot() and ConsoleSandbox::restart_uboot_with_flags()
so that it can handle a reset while the 1st boot process after main
boot logo before prompt correctly.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/py/u_boot_console_base.py
test/py/u_boot_console_sandbox.py