From: Simon Glass <sjg@chromium.org>
Date: Sun, 23 Jun 2024 20:30:27 +0000 (-0600)
Subject: test: Make bootstd init run only on sandbox
X-Git-Tag: v2025.01-rc5-pxa1908~431^2~5
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/login.html?a=commitdiff_plain;h=dee65403cc78807a7f6ef19af536d6fd1fd2823d;p=u-boot.git

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>
---

diff --git a/test/py/tests/test_ut.py b/test/py/tests/test_ut.py
index c169c835e3..58205066ec 100644
--- a/test/py/tests/test_ut.py
+++ b/test/py/tests/test_ut.py
@@ -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"""