]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: Decode exceptions only with sandbox
authorSimon Glass <sjg@chromium.org>
Sun, 23 Jun 2024 20:30:30 +0000 (14:30 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jul 2024 15:25:21 +0000 (09:25 -0600)
commit190933fbb56775f0415c885be38854cac41faaf2
tree3f9c7b754aa94928a2e99fe53c1b66f917a60e64
parentceffbfb629eb469f05a4d1bf92bf20515a1df0c9
test: Decode exceptions only with sandbox

When a real board fails we don't want to decode the exception. Reserve
that behaviour for sandbox. Also avoid raising a new exception on
failure - just re-raise the existing one.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/u_boot_console_sandbox.py
test/py/u_boot_spawn.py