]> git.baikalelectronics.ru Git - uboot.git/commit
patman: test_util: Fix printing results for failed tests
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Sat, 2 Apr 2022 17:06:04 +0000 (20:06 +0300)
committerSimon Glass <sjg@chromium.org>
Tue, 28 Jun 2022 02:09:51 +0000 (03:09 +0100)
commit90aac2402079daa7c40d35bc8198b8f30cc7f5da
treea3faeba822453514b665d9358eb891ce41bfc7ab
parent5f992b8216fbd7522b6c0f4d11828669c6cc0140
patman: test_util: Fix printing results for failed tests

When printing a python tool's test results, the entire list of failed
tests and their tracebacks are reprinted for every failed test. This
makes the test output quite unreadable. Fix the loop to print failures
and tracebacks one at a time.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/patman/test_util.py