[PATCH 0/6] test: Refactor FIT test for clarity and extensibility
Tom Rini
trini at konsulko.com
Fri Mar 27 21:46:23 CET 2026
On Tue, Mar 24, 2026 at 01:43:15PM -0600, Simon Glass wrote:
> This series reworks the FIT test (test_fit.py) to make it easier to
> maintain and extend. It avoids unnecessary U-Boot restarts, renames the
> main test for easier selection, adds a missing-kernel check, fixes
> Python warnings, converts the test to use a class, and splits into
> separate test functions.
>
>
> Simon Glass (6):
> test: fit: Avoid restarting U-Boot
> test: Rename test_fit() to test_fit_base()
> test: Add a check for a missing kernel
> test: Update fit test to fix a few Python warnings
> test: Convert FIT test to use a class
> test: Add fsetup fixture and prepare helper for FIT test
>
> test/py/tests/test_fit.py | 403 ++++++++++++++++++++------------------
> 1 file changed, 216 insertions(+), 187 deletions(-)
This overall seems fine. Now that we've fixed the problem with
readthedocs and pytest, the next follow-up should include adding
doc/develop/pytest/test_fit.rst (which based on all the others should be
minimal) and any needed changes / corrections to the docstrings / etc so
that the output renders well.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260327/5312e005/attachment.sig>
More information about the U-Boot
mailing list