[PATCH v2 0/8] test: Refactor FIT test for clarity and extensibility
Simon Glass
sjg at chromium.org
Sun Apr 5 13:11:45 CEST 2026
This series reworks the FIT test (test_fit.py) to make it easier to
maintain and extend. It fixes the buildconfigspec so the test actually
runs on sandbox, 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, splits into separate test
functions, and adds Sphinx documentation.
Changes in v2:
- Add new patch to fix the buildconfigspec marker
- Remove doctest examples from find_matching() to fix Sphinx warnings
- Add new patch for Sphinx documentation as requested by Tom Rini
Simon Glass (8):
test: fit: Drop the fit_signature buildconfigspec
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: Add documentation for the FIT test
doc/develop/pytest/test_fit.rst | 10 +
test/py/tests/test_fit.py | 419 +++++++++++++++++---------------
2 files changed, 228 insertions(+), 201 deletions(-)
create mode 100644 doc/develop/pytest/test_fit.rst
--
2.43.0
base-commit: 1c1bfb1cf34bbb2a5717eb6995c55093279f9341
branch: loada-us2
More information about the U-Boot
mailing list