test/py: optionally ignore errors from shell commands
authorStephen Warren <swarren@nvidia.com>
Fri, 22 Jan 2016 19:30:11 +0000 (12:30 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 29 Jan 2016 04:01:23 +0000 (21:01 -0700)
commit3f2faf7327ae7cf1a78097a8089f91e3f2aa8652
tree171ad841725e659ea8ec1cf7d1e17008ff7b8e5d
parent783cbcd3604088e9ff12b552fc209b3696c0e2b6
test/py: optionally ignore errors from shell commands

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@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
test/py/multiplexed_log.py