binman: Reset missing bintools after testing
For tests which fake bintools being missing, we need to reset the list afterwards, to ensure that future tests do not also see the bintools as missing. Reset the list when processing is complete. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
This commit is contained in:
parent
a13af89e10
commit
823f5c3a02
|
@ -858,6 +858,8 @@ def Binman(args):
|
|||
data = state.GetFdtForEtype('u-boot-dtb').GetContents()
|
||||
elf.UpdateFile(*elf_params, data)
|
||||
|
||||
bintool.Bintool.set_missing_list(None)
|
||||
|
||||
# This can only be True if -M is provided, since otherwise binman
|
||||
# would have raised an error already
|
||||
if invalid:
|
||||
|
|
Loading…
Reference in New Issue
Block a user