Skip to content

test: Avoid needing sudo for image-creation

Simon Glass u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest8 patches 3 repliesIn review

Changes in v2 from the cover letter

- 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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8test_fs: Allow running unprivilegedtest/py/tests/fs_helper.py test/py/tests/test_fs/conftest.py test/py/tests/test_ut.py+47 -1430 replies
2/8test_fs: Rename mount dir to scratchtest/py/tests/test_fs/conftest.py+33 -330 replies
3/8test_ut: Add an image size to setup_image()test/py/tests/test_ut.py+6 -41 reply
4/8test_ut: Allow running unprivilegedtest/py/tests/test_ut.py+26 -600 replies
5/8test_ut: Drop exeception handlingtest/py/tests/test_ut.py+81 -940 replies
6/8test_ut: Use the built mkimagetest/py/tests/test_ut.py+4 -20 replies
7/8test_ut: Drop support for fallback filestest/py/tests/test_ut.py+0 -280 replies
8/8bootstd: Remove prepared imagestest/py/tests/bootstd/flash1.img.xz test/py/tests/bootstd/mmc1.img.xz test/py/tests/bootstd/mmc4.img.xz+0 -00 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchMattijs Korpershoek
1/8T-b
2/8R-b
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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

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
Signature · 1 line
2.43.0