mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user