[U-Boot] [PATCH 48/53] binman: Clean up all output directories in tests

sjg at google.com sjg at google.com
Mon Jul 29 21:21:57 UTC 2019


At present some tests leave behind output directories. This happens
because some tests call binman, which sets up an output directory, then
call it again, which sets up another output directory and leaves the
original one behind.

Fix this by using a separate temporary directory when binman is called
twice, or by manually removing the output directory.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/binman/ftest.py | 51 +++++++++++++++++++++++++++++++++++--------
 1 file changed, 42 insertions(+), 9 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list