[U-Boot] [PATCH v2 31/31] binman: Add a test for nested and aligned sections

sjg at google.com sjg at google.com
Thu Jul 18 01:58:27 UTC 2019


Current test coverage is likely sufficient for the logic used to place
sections in the image. However it seems useful to add a test specifically
for nested sections, since these could have some unusual interactions.

Add a new test for this and aligned sections. This test failed before the
refactor to drop the bsection.py file (Section class), but passes now.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Add patches to enhance the 'ls' command to filter which entries are shown
- Add patches to implement the 'extract' command

 tools/binman/ftest.py                        | 67 +++++++++++++++++++-
 tools/binman/test/131_pack_align_section.dts | 28 ++++++++
 2 files changed, 94 insertions(+), 1 deletion(-)
 create mode 100644 tools/binman/test/131_pack_align_section.dts

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list