
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@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!