]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Clean up all output directories in tests
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:24:10 +0000 (12:24 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:06 +0000 (09:38 -0600)
commitf86a736349bd520fffb55bb9dbe3d63816780d67
treed1ea9133dab26a1089e43cdf7d455cb46d9a7358
parentbf574f129be2e2c7193024e0efac15d6b3496534
binman: Clean up all output directories in tests

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@chromium.org>
tools/binman/ftest.py