[PATCH v2 0/8] test: Avoid needing sudo for image-creation

Simon Glass sjg at chromium.org
Thu Nov 21 23:32:06 CET 2024


This series rebases and tidies up a series sent by Richard Weinberger
to use unpriviliged code to build the test images.

Link: https://patchwork.ozlabs.org/project/uboot/list/?series=417786

Changes in v2:
- Fix a few pylint errors
- Split out image-size patch and default to 20MB
- Attempt to reduce the diff, for easier review
- Add new patch to drop exception handling
- Add new patch to use the built mkimage
- Separate out patch to drop support for fallback files
- Add patch to remove prepared images

Richard Weinberger (3):
  test_fs: Allow running unprivileged
  test_fs: Rename mount dir to scratch
  test_ut: Allow running unprivileged

Simon Glass (5):
  test_ut: Add an image size to setup_image()
  test_ut: Drop exeception handling
  test_ut: Use the built mkimage
  test_ut: Drop support for fallback files
  bootstd: Remove prepared images

 test/py/tests/bootstd/flash1.img.xz | Bin 4924 -> 0 bytes
 test/py/tests/bootstd/mmc1.img.xz   | Bin 4480 -> 0 bytes
 test/py/tests/bootstd/mmc4.img.xz   | Bin 7072 -> 0 bytes
 test/py/tests/fs_helper.py          |  11 +-
 test/py/tests/test_fs/conftest.py   | 225 +++++++------------------
 test/py/tests/test_ut.py            | 245 ++++++++++------------------
 6 files changed, 157 insertions(+), 324 deletions(-)
 delete mode 100644 test/py/tests/bootstd/flash1.img.xz
 delete mode 100644 test/py/tests/bootstd/mmc1.img.xz
 delete mode 100644 test/py/tests/bootstd/mmc4.img.xz

-- 
2.43.0



More information about the U-Boot mailing list