test: Check booting via a script on an ARM board
Use the Colibri-iMX8x board to check that booting with a U-Boot script works as expected. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -59,3 +59,18 @@ def test_distro(ubman):
|
||||
ubman.p.expect(['Welcome to .*Ubuntu 24.04.1 LTS.*!'])
|
||||
|
||||
ubman.restart_uboot()
|
||||
|
||||
@pytest.mark.boardspec('colibri-imx8x')
|
||||
@pytest.mark.role('colibrimx8')
|
||||
def test_distro_script(ubman):
|
||||
"""Test that a selected board can boot into Llinux using a script"""
|
||||
with ubman.log.section('boot'):
|
||||
ubman.run_command('boot', wait_for_prompt=False)
|
||||
|
||||
# This is the start of userspace
|
||||
ubman.p.expect(['Welcome to TDX Wayland'])
|
||||
|
||||
# Shortly later, we should see this banner
|
||||
ubman.p.expect(['Colibri-iMX8X_Reference-Multimedia-Image'])
|
||||
|
||||
ubman.restart_uboot()
|
||||
|
||||
Reference in New Issue
Block a user