]> git.dujemihanovic.xyz Git - u-boot.git/commit
patman: Update command.Run() to handle failure better
authorSimon Glass <sjg@chromium.org>
Sat, 24 Aug 2019 13:22:42 +0000 (07:22 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 15 Oct 2019 14:40:02 +0000 (08:40 -0600)
commit6eace398072a62e74f10f412ffadfe51b7402395
tree2e1531dfcf318de3d3a80acafb529b045d463649
parent3b1c0b09c99bfd30355a6ba87a15e9d408a51109
patman: Update command.Run() to handle failure better

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