u-boot-brain/test/py
Stephen Warren 372497572b 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>
2021-02-01 16:33:02 -05:00
..
tests test: Update test_fs to not use deprecated pytest.yield_fixture() 2021-01-29 10:36:49 -05:00
.gitignore test/py: Implement pytest infrastructure 2016-01-20 19:06:23 -07:00
conftest.py test/py: fix runtest wrapper for pytest 6 2021-02-01 16:33:02 -05:00
multiplexed_log.css SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
multiplexed_log.py test/py: Manual python3 fixes 2019-10-30 17:48:47 -04:00
pytest.ini test/py: Manual python3 fixes 2019-10-30 17:48:47 -04:00
requirements.txt test/py: Update docs, add requirements.txt for pip 2019-10-30 17:48:47 -04:00
test.py test: correct entry point to pytest 2021-01-29 10:36:49 -05:00
u_boot_console_base.py test/py: Add test support for three stage boot 2020-08-04 23:30:02 -04:00
u_boot_console_exec_attach.py SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
u_boot_console_sandbox.py test/py: Add a way to pass flags to sandbox 2018-11-26 08:25:35 -05:00
u_boot_spawn.py test/py: Use raw strings more to avoid deprecation warnings 2019-10-30 17:48:47 -04:00
u_boot_utils.py test/py: Update u_boot_utils.find_ram_base to bypass the low 2MiB memory 2020-04-10 15:54:16 -04:00