diff options
author | Simon Glass <sjg@chromium.org> | 2025-01-20 14:26:01 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-24 14:34:41 -0600 |
commit | 15c39587cf8a977df33aba37715b6ce3e17536d7 (patch) | |
tree | 2c050dc91a50176da754fabc9580e92436056f7a /test/py/tests/test_upl.py | |
parent | 561320beffd10d133a316aacaf3170387324bdae (diff) |
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>
Diffstat (limited to 'test/py/tests/test_upl.py')
-rw-r--r-- | test/py/tests/test_upl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_upl.py b/test/py/tests/test_upl.py index 3164bda6b71..d94359d8b9b 100644 --- a/test/py/tests/test_upl.py +++ b/test/py/tests/test_upl.py @@ -35,4 +35,4 @@ def test_upl_handoff(u_boot_console): # Check the FIT offsets look correct output = cons.run_command('ut upl -f upl_test_info_norun') - assert 'Failures: 0' in output + assert 'failures: 0' in output |