test: Move stat-printing into its own function
authorSimon Glass <sjg@chromium.org>
Mon, 20 Jan 2025 21:26:01 +0000 (14:26 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 24 Jan 2025 20:34:41 +0000 (14:34 -0600)
commit15c39587cf8a977df33aba37715b6ce3e17536d7
tree2c050dc91a50176da754fabc9580e92436056f7a
parent561320beffd10d133a316aacaf3170387324bdae
test: Move stat-printing into its own function

Add a function to show the stats, so we can decide when to print it.

This slightly adjusts the output, so that any 'test not found' message
appears on its own line after all other output.

The 'failures' message now appears in lower case so update pytest
accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/spl.c
include/test/ut.h
test/py/tests/test_spl.py
test/py/tests/test_upl.py
test/py/tests/test_ut.py
test/py/tests/test_vbe.py
test/py/tests/test_vpl.py
test/test-main.c