[U-Boot] [PATCH 5/8] test/py: optionally ignore errors from shell commands
Simon Glass
sjg at chromium.org
Fri Jan 22 04:36:06 CET 2016
On 20 January 2016 at 15:15, Stephen Warren <swarren at wwwdotorg.org> wrote:
> From: Stephen Warren <swarren at nvidia.com>
>
> Sometimes it's useful to run shell commands and ignore any errors. One
> example might be cleanup logic; if a test-case experiences an error, the
> cleanup logic might experience an error too, and we don't want that error
> to mask the original error, so we want to ignore the subsequent error.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
> ---
> test/py/multiplexed_log.py | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
Acked-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list