test: add command to 'Boot fail' message
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 23 Nov 2024 21:29:22 +0000 (22:29 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 29 Nov 2024 20:41:47 +0000 (14:41 -0600)
commitbc2a1b3c92825632b239f7021ff4ddfe84587df2
tree47c19c8cd93e257b1e6e68fb468c511f25b82005
parent9c7b3dd091a20ca081cc9e46c92d5c36dbd8d7a8
test: add command to 'Boot fail' message

When a timeout occurs while executing a command a 'Boot fail' message is
written and testing is stopped. The user is left in the dark about the
failure cause.

    ! _pytest.outcomes.Exit: Boot fail: Marking connection bad - no other tests will run !

Add the executed command to the message.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/py/u_boot_console_base.py