Searched hist:"86845 bf38dbba5fa7499db10ac5ee20f72d3f240" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/test/py/ |
| H A D | multiplexed_log.py | 86845bf38dbba5fa7499db10ac5ee20f72d3f240 Sun Jul 03 15:40:38 UTC 2016 Simon Glass <sjg@chromium.org> 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>
|