binman: Add a test function to clean up the output dir
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:24:09 +0000 (12:24 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:06 +0000 (09:38 -0600)
commitbf574f129be2e2c7193024e0efac15d6b3496534
tree94afe126f6c8c0f84d2a2d4dc44d1e15a574736c
parentf6e02497ae063b7939b0670153d22a7b17bf4408
binman: Add a test function to clean up the output dir

Put tearDown()'s logic into a new _CleanupOutputDir() function so that it
can be called from elsewhere.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/ftest.py