mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 10:24:49 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue