commit | 86845bf38dbba5fa7499db10ac5ee20f72d3f240 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Jul 03 09:40:38 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Jul 14 18:22:34 2016 -0400 |
tree | e66c110c815cdc09a948fa5156a653d5da3d8a58 | |
parent | 3b8d9d977b6dd6d04f0cfe2eb5dce25264fe40f5 [diff] |
test/py: Provide output from exceptions with RunAndLog() Tests may want to look at the output from running a command, even if it fails (e.g. with a non-zero return code). Provide a means to obtain this. Another approach would be to return a class object containing both the output and the exception, but I'm not sure if that would result in a lot of refactoring. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Teddy Reed <teddy.reed@gmail.com>