Re: [U-Boot] [PATCH 06/14] test/py: Provide output from exceptions with RunAndLog()

2016-07-03 Thread Teddy Reed
Hi Simon, On Sun, Jul 3, 2016 at 8:40 AM, Simon Glass wrote: > 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 an

[U-Boot] [PATCH 06/14] test/py: Provide output from exceptions with RunAndLog()

2016-07-03 Thread Simon Glass
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 refac