commit | 4134caf54340351c4d3f419ea398420fe6c3008d | [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 | 9f3c9e9b9cc21a4a70e7040cc04a5ced175027b7 [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>