diff options
author | Simon Glass <sjg@chromium.org> | 2024-10-09 18:29:02 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-15 10:24:27 -0600 |
commit | 681b8f86e4719ba4d8d0bd4f8b6be056277499f6 (patch) | |
tree | 5801cb9941e9774c9b693b5580f16f340a1c5444 /test/py/conftest.py | |
parent | e4ad90149cee8e98d4a881ef535f50ef2cffa168 (diff) |
test: Separate out the exception handling
The tests currently catch a very broad Exception in each case. This is
thrown even in the event of a coding error.
We want to handle exceptions differently depending on their severity,
so that we can avoid hour-long delays waiting for a board that is
clearly broken.
As a first step, create some new exception types, separating out those
which are simply an unexpected result from executed a command, from
those which indicate some kind of hardware failure.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/conftest.py')
0 files changed, 0 insertions, 0 deletions