binman: Add a test for nested and aligned sections
authorSimon Glass <sjg@chromium.org>
Mon, 8 Jul 2019 20:25:53 +0000 (14:25 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 24 Jul 2019 19:54:08 +0000 (12:54 -0700)
commite2705fa9c5bfa7f310047a805cfa9103990d381c
tree063f1d4079862e3f5519c9ad1e8394ea79509af6
parent71ce0ba284aeb388ddcefb4f6f0056c759a758cc
binman: Add a test for nested and aligned sections

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>
tools/binman/ftest.py
tools/binman/test/131_pack_align_section.dts [new file with mode: 0644]