diff options
author | Stephen Warren <swarren@wwwdotorg.org> | 2021-01-31 06:12:18 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-02-02 00:33:02 +0300 |
commit | 372497572b1102153a98bf20b833eb9d470c3805 (patch) | |
tree | 3613d78c0b5ac26dcbbf658634b440c93fc26708 /lib/efi_selftest/efi_selftest_startimage_exit.c | |
parent | 9644bd0d01e72b256a2d480999f6e1b86c6e5f34 (diff) | |
download | u-boot-372497572b1102153a98bf20b833eb9d470c3805.tar.xz |
test/py: fix runtest wrapper for pytest 6
The implementation of pytest_runtest_protocol() must call
pytest_runtest_logstart() and pytest_runtest_logfinish(). This appears to
be necessary even in pytest 5.2.1 judging by the default version of
pytest_runtest_protocol(), but evidently some form of code reorganization
in pytest only made this have a practical effect in the newer version. I'd
previously been under the impression that 100% of the required work of
pytest_runtest_protocol() was handled by the fact it called
runtestprotocol() as its implementation. However, it appears that custom
implementations do need to do a little more than this.
Reported-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/efi_selftest/efi_selftest_startimage_exit.c')
0 files changed, 0 insertions, 0 deletions