[PATCH v2 18/41] test/py: Raise a ValueError if a command fails
Simon Glass
sjg at chromium.org
Wed Nov 24 23:22:21 CET 2021
At present an Exception is raised if a command fails. This is a very broad
class and makes it difficult for callers to catch the error without also
catching other things, like programming bugs.
Change it to ValueError to make this easier.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
(no changes since v1)
test/py/multiplexed_log.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list