From: Simon Glass <[email protected]>

Refactor the test filesystem helper into a class-based design, reducing
duplication and making it easier to create disk images for testing. Add
a helper class for creating disk images with partition tables.

Convert a test over to use it. Provide a few other minor improvements as
well.


Simon Glass (6):
  test: Update fs_helper to support passing in the image
  test: Update comment for fs_helper.setup_image()
  test: fs_helper: Drop the size_gran argument
  test: Convert fs_helper to use a class
  test: Add a helper class to create disk images
  test: Convert test_efi_bootmgr to use FsHelper

 test/py/tests/fs_helper.py        | 308 +++++++++++++++++++++++++-----
 test/py/tests/test_efi_bootmgr.py |  38 ++--
 2 files changed, 271 insertions(+), 75 deletions(-)

-- 
2.43.0

base-commit: 8fd76675efbe7af785ccc1ba1ac8b9f7e10f6715
branch: testfs

Reply via email to