]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: Make bootstd init run only on sandbox
authorSimon Glass <sjg@chromium.org>
Sun, 23 Jun 2024 20:30:27 +0000 (14:30 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jul 2024 15:25:21 +0000 (09:25 -0600)
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>
test/py/tests/test_ut.py

index c169c835e38a3a6310298bec3c2d5eb932db5a52..58205066ec88c3a723b281b58d46236eb61f36c9 100644 (file)
@@ -470,6 +470,7 @@ def test_ut_dm_init(u_boot_console):
         fh.write(data)
 
 @pytest.mark.buildconfigspec('cmd_bootflow')
+@pytest.mark.buildconfigspec('sandbox')
 def test_ut_dm_init_bootstd(u_boot_console):
     """Initialise data for bootflow tests"""