summaryrefslogtreecommitdiff
path: root/test/py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-10-20 18:23:17 -0600
committerTom Rini <trini@konsulko.com>2022-10-31 11:04:00 -0400
commit2a5c67f50a438b266dc72c9401e578ec8b81db16 (patch)
tree5d3c9fd55c9df768ca538848cad4433f72f04a22 /test/py
parent5981d611788adce88974687d4d561965d964fd08 (diff)
downloadu-boot-2a5c67f50a438b266dc72c9401e578ec8b81db16.tar.gz
u-boot-2a5c67f50a438b266dc72c9401e578ec8b81db16.tar.bz2
u-boot-2a5c67f50a438b266dc72c9401e578ec8b81db16.zip
vbe: Use a manual test
Use a manual test for the VBE test, so we can make the pytest and the C unit test work together properly. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py')
-rw-r--r--test/py/tests/test_vbe.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/py/tests/test_vbe.py b/test/py/tests/test_vbe.py
index 559c291886..50b6c1cd91 100644
--- a/test/py/tests/test_vbe.py
+++ b/test/py/tests/test_vbe.py
@@ -85,7 +85,7 @@ bootm loados
bootm prep
fdt addr
fdt print
-ut bootstd vbe_test_fixup
+ut bootstd -f vbe_test_fixup_norun
'''
@pytest.mark.boardspec('sandbox_flattree')
@@ -117,7 +117,4 @@ def test_vbe(u_boot_console):
with cons.log.section('Kernel load'):
output = cons.run_command_list(cmd.splitlines())
- # This is a little wonky since there are two tests running in CI. The final
- # one is the 'ut bootstd' command above
- failures = [line for line in output if 'Failures' in line]
- assert len(failures) >= 1 and 'Failures: 0' in failures[-1]
+ assert 'Failures: 0' in output[-1]