
This series includes a few new helpers which make it easier to create filesystems and disk images for testing. The current approach requires the caller to create a temporary directory, put files in there, then call the helper. It has poor support for building disks containing multiple partitions. This new helper works by creating a temporary directory which the caller can use, then creating the filesystem and cleaning up. Most of U-Boot is moved over to use these new helpers, but two EFI tests are left alone, since they don't currently pass: - test_efi_eficonfig() has a 'return' in it, so doesn't run - TestEfiCapsuleFirmwareFit is skipped due to a failure at the start These can be moved over later when they are working. This series also includes a few quirks to the VBE tests. Simon Glass (13): vbe: Remove 'simple' from vbe_abrec vbe: Enable testing OS requests on vanilla sandbox 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: Convert test_cat to use FsHelper test: Convert test_xxd to use FsHelper test: Add a helper class to create disk images test: Convert test_efi_bootmgr to use FsHelper test: Convert setup_bootmenu_image() to use FsHelper test: Convert setup_bootflow_image() to use FsHelper test: Convert setup_efi_image() to use FsHelper test: Convert test_ut_dm_init() to use FsHelper boot/vbe_abrec.c | 6 +- test/py/tests/fs_helper.py | 290 ++++++++++++++++++++++++------ test/py/tests/test_cat.py | 27 +-- test/py/tests/test_efi_bootmgr.py | 38 ++-- test/py/tests/test_ut.py | 78 ++++---- test/py/tests/test_vbe.py | 5 +- test/py/tests/test_xxd.py | 28 +-- 7 files changed, 312 insertions(+), 160 deletions(-) -- 2.43.0 base-commit: 8a971f9265d5433ff1e2700557a418ed17184b42 branch: loadb