buildman: Write output files when using -w
authorSimon Glass <sjg@chromium.org>
Fri, 17 Apr 2020 23:51:34 +0000 (17:51 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 26 Apr 2020 20:24:08 +0000 (14:24 -0600)
commit60b285f8c3bcd1f169fa72ad58387509673eec8b
tree7918a12cd35b5d8b277eb764dda4338e543d8615
parent166a98a426616aa3e9c35d94ea3aaf8e67994e33
buildman: Write output files when using -w

At present buildman does not write its own output files (err, done, the
environment) when using -w. However this is useful for when the build is
run with -s to check it.

In fact ProduceResultSummary() reads the result from those files rather
than using the 'result' info directly. So ProcessResult() does not work
with -w at present. It does not print any output.

Fix this by writing output files even when -w is used.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builder.py
tools/buildman/builderthread.py
tools/buildman/func_test.py