From 823f5c3a02276067c583b2f31144095f2b3b41fc Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 14 Oct 2023 14:40:25 -0600 Subject: [PATCH] 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 Reviewed-by: Neha Malcom Francis --- tools/binman/control.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/binman/control.py b/tools/binman/control.py index c6d3205b8c..2f00279232 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -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: -- 2.39.5