[PATCH 0/6] test: Refactor FIT test for clarity and extensibility

Simon Glass sjg at chromium.org
Tue Mar 24 20:43:15 CET 2026


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(-)

-- 
2.43.0

base-commit: 1ffc541eafc96d5eebcf837ab892dccec3b93568
branch: loada-us


More information about the U-Boot mailing list