labgrid icon indicating copy to clipboard operation
labgrid copied to clipboard

ShellDriver.run() doesn't return output if command times out

Open spark5 opened this issue 5 years ago • 1 comments

When command times out, an Exception is thrown. However, I want to be able to get the partial uart output.

spark5 avatar Jun 07 '19 11:06 spark5

The output is partially contained within the exception. Since the exceptions now get stored within the event, one could match on the exception type and retrieve the output from there. Alternatively the different reporters all show the UART output, but are not coupled to the individual commands.

Emantor avatar Jul 05 '19 08:07 Emantor