author | Simon Glass <sjg@chromium.org> | |
Fri, 2 Apr 2021 22:05:09 +0000 (11:05 +1300) | ||
committer | Simon Glass <sjg@chromium.org> | |
Thu, 29 Apr 2021 10:23:39 +0000 (03:23 -0700) | ||
commit | c7722e84170a1b855da808c6e6aab4f871b15e0d | |
tree | e2df2f691e42dd88349badd8da78676ab535470f | tree | snapshot (tar.xz tar.gz zip) |
parent | ec6db6c297afa8ef9f72c73c067d98e764aeae25 | commit | diff |
binman: Tweak implementation of fmap
Use an interator in two of the fmap tests so it is easier to add new
items. Also check the name first since that is the first indication
that something is wrong. Use a variable for the expected size of the
fmap to avoid repeating the code.
Signed-off-by: Simon Glass <sjg@chromium.org>
Use an interator in two of the fmap tests so it is easier to add new
items. Also check the name first since that is the first indication
that something is wrong. Use a variable for the expected size of the
fmap to avoid repeating the code.
Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/ftest.py | diff | blob | history |