forked from OERV-BSP/u-boot
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>
This commit is contained in:
@@ -117,4 +117,4 @@ def test_vbe(u_boot_console):
|
||||
with cons.log.section('Kernel load'):
|
||||
output = cons.run_command_list(cmd.splitlines())
|
||||
|
||||
assert 'Failures: 0' in output[-1]
|
||||
assert 'failures: 0' in output[-1]
|
||||
|
||||
Reference in New Issue
Block a user