Tests often capture output so they can check it. This means that if the
test fails it is not easy to see what the output actually was.

Add a -N flag which writes out the output after it has been captured.
This is not a perfect solution but it is simple and seems to work well
in practice.

Signed-off-by: Simon Glass <s...@chromium.org>
---

(no changes since v1)

 tools/u_boot_pylib/terminal.py | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Applied to sjg/master, thanks!

Reply via email to