[U-Boot] [PATCH 02/34] patman: Update command.Run() to handle failure better

sjg at google.com sjg at google.com
Fri Sep 27 00:39:18 UTC 2019


At present tools are not expected to fail. If they do an exception is
raised but there is no detail about what went wrong. This makes it hard
to debug if something does actually go wrong.

Fix this by outputting both stderr and stdout on failure.

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

 tools/patman/tools.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list