]> git.dujemihanovic.xyz Git - u-boot.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)
commit6474aaa1d1de0fe246707ff05816a32776d48fa8
treea3faeba822453514b665d9358eb891ce41bfc7ab
parent501a9a7ed803ac948adb392e541f9da9bafad60e
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