]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/py: Handle expected reset by command
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>
Wed, 16 Feb 2022 06:15:52 +0000 (15:15 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 26 Feb 2022 06:37:01 +0000 (07:37 +0100)
commit06396e2e663809ae6b5da013d5ad165ba16445a6
tree4a32fb8da24d5cfed56da366b8a9853d1c828a18
parenta6aafce494ab3d963485e6425f232a9224359556
test/py: Handle expected reset by command

Add wait_for_reboot optional argument to ConsoleBase::run_command()
so that it can handle an expected reset by command execution.

This is useful if a command will reset the sandbox while testing
such commands, e.g. run_command("reset", wait_for_reboot = True)

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