diff options
| author | Simon Glass <[email protected]> | 2025-05-29 08:14:51 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-06-12 11:32:29 -0600 |
| commit | ef82e45c2ef5278493576708d6aafd686ba77af9 (patch) | |
| tree | 52ada196defc1ab9c3390402718dd240986b5c62 /test/py | |
| parent | c36ab3256c806dca14ab083d64905d243d2aa751 (diff) | |
test/py: Use the correct fixture name in exception handler
If a BootFail exception is thrown in a test, it is not handled
correctly. Use the correct fixture variable 'ubman_fix' to resolve this.
Signed-off-by: Simon Glass <[email protected]>
Fixes: d9ed4b75add ("test/py: Drop u_boot_ prefix on test files")
Reviewed-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'test/py')
| -rw-r--r-- | test/py/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/conftest.py b/test/py/conftest.py index 6c3ac67979a..eec0b5488e4 100644 --- a/test/py/conftest.py +++ b/test/py/conftest.py @@ -514,7 +514,7 @@ def ubman(request): handle_exception(ubconfig, ubman_fix, log, err, 'Lab timeout', True) except BootFail as err: handle_exception(ubconfig, ubman_fix, log, err, 'Boot fail', True, - ubman.get_spawn_output()) + ubman_fix.get_spawn_output()) except Unexpected: handle_exception(ubconfig, ubman_fix, log, err, 'Unexpected test output', False) |
