projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
test/py: drain console log at the end of any failed test
[platform/kernel/u-boot.git]
/
test
/
py
/
conftest.py
diff --git
a/test/py/conftest.py
b/test/py/conftest.py
index
38aa3f9
..
c1f19ce
100644
(file)
--- a/
test/py/conftest.py
+++ b/
test/py/conftest.py
@@
-386,6
+386,7
@@
def pytest_runtest_protocol(item, nextitem):
skipped = report
if failed:
+ console.drain_console()
tests_failed.add(item.name)
elif skipped:
tests_skipped.add(item.name)