test: Make bootstd init run only on sandbox
Tests for standard boot need disks to be set up, which can only be done on sandbox, since adjusting disks on real hardware is not currently supported. Mark the init function as sandbox-only. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -470,6 +470,7 @@ def test_ut_dm_init(u_boot_console):
|
|||||||
fh.write(data)
|
fh.write(data)
|
||||||
|
|
||||||
@pytest.mark.buildconfigspec('cmd_bootflow')
|
@pytest.mark.buildconfigspec('cmd_bootflow')
|
||||||
|
@pytest.mark.buildconfigspec('sandbox')
|
||||||
def test_ut_dm_init_bootstd(u_boot_console):
|
def test_ut_dm_init_bootstd(u_boot_console):
|
||||||
"""Initialise data for bootflow tests"""
|
"""Initialise data for bootflow tests"""
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user