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

Tom Rini trini at konsulko.com
Sat Jul 16 15:49:54 CEST 2016


On Sun, Jul 03, 2016 at 09:40:38AM -0600, 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 and the exception, but I'm not sure if that would result in a lot
> of refactoring.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Teddy Reed <teddy.reed at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160716/b20d6c94/attachment.sig>


More information about the U-Boot mailing list