aboutsummaryrefslogtreecommitdiff
path: root/test/py/conftest.py
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2018-09-20 16:55:03 -0600
committerTom Rini <trini@konsulko.com>2018-10-06 09:04:18 -0400
commitdddea0d0d72e45f60fadddd45e22e30065bd010f (patch)
treeb08d971e78e810bbfb14d12ce0d9ec1dde398f2e /test/py/conftest.py
parent14573fb78fef99266f7691ac9af2ddb388f9491f (diff)
downloadu-boot-dddea0d0d72e45f60fadddd45e22e30065bd010f.zip
u-boot-dddea0d0d72e45f60fadddd45e22e30065bd010f.tar.gz
u-boot-dddea0d0d72e45f60fadddd45e22e30065bd010f.tar.bz2
test/py: ignore console read exceptions after test failure
After a test has failed, test/py drains the U-Boot console log to ensure that any relevant output is captured. At this point, we don't care about detecting any additional errors, since the test is already known to have failed, and U-Boot will be restarted. To ensure that the test cleanup code is not interrupted, and can correctly terminate the log sections for the failed test, ignore any exception that occurs while reading the U-Boot console output during this limited period of time. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test/py/conftest.py')
0 files changed, 0 insertions, 0 deletions