summaryrefslogtreecommitdiff
path: root/cmd/softswitch.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-03 09:40:38 -0600
committerTom Rini <trini@konsulko.com>2016-07-14 18:22:34 -0400
commit86845bf38dbba5fa7499db10ac5ee20f72d3f240 (patch)
treee66c110c815cdc09a948fa5156a653d5da3d8a58 /cmd/softswitch.c
parent3b8d9d977b6dd6d04f0cfe2eb5dce25264fe40f5 (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>
Diffstat (limited to 'cmd/softswitch.c')
0 files changed, 0 insertions, 0 deletions