buildman: Write output even on fatal error
authorSimon Glass <sjg@chromium.org>
Wed, 20 Oct 2021 03:43:23 +0000 (21:43 -0600)
committerStefano Babic <sbabic@denx.de>
Wed, 20 Oct 2021 08:59:54 +0000 (10:59 +0200)
commitbafdeb45462683692e0ae217d4683b8062c59608
tree4e53c00268220829ab0a6f1fee82aac2bf57cdd7
parentabc6eee0e76f5418f64f8a95878ac2bd6d2b2e69
buildman: Write output even on fatal error

At present buildman does not write any output (to the 'out' and 'err)
files if the build terminates with a fatal error. This is to avoid adding
lots of spam to the logs.

However there are times when this is actually useful, such as when the
build fails for an obscure reason such as a Kconfig loop.

Update the logic to always write the output, so that the user gets a clue
as to what is happening.

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