summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2016-10-17 23:25:52 (GMT)
committerTom Rini <trini@konsulko.com>2016-10-23 22:33:17 (GMT)
commitb0a928a15d7825c08f3be1a3ec5c4bcd8b465fd8 (patch)
tree77c92a20910ead36b86de1225a8ad078cf5b8568 /README
parent3431b392ad50ff37fa3d6e7715c6a99c74d692dc (diff)
downloadu-boot-b0a928a15d7825c08f3be1a3ec5c4bcd8b465fd8.tar.xz
test/py: ensure a log section exists for skipped tests
In pytest 3, runtestprotocol() may not call pytest_runtest_setup() if the test is skipped. That call is required to create a section for the test in the log file. If this is skipped, the call to log.end_section() at the tail of pytest_runtest_protocol() will throw an exception. This patch ensures that a log section always exists, both to avoid the exception and to ensure that a consistently structured log file is always created. Cc: Stefan Brüns <stefan.bruens@rwth-aachen.de> Reported-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Stephen Warren <swarren@nvidia.com> Tested-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions