summaryrefslogtreecommitdiff
path: root/test/py/tests/test_sandbox_opts.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-03-15 08:19:31 -0600
committerTom Rini <trini@konsulko.com>2025-03-15 08:19:31 -0600
commit0e1fc465fea62ebae91f2f56cb823e8b37ee1077 (patch)
tree14ea0ca0ef443959df1ac5afa7b5114e6910bf77 /test/py/tests/test_sandbox_opts.py
parent00dfb7038ea4dfe9d9667143bfecd11c05cab6fa (diff)
parent13e8d14442a85a8556211a9950a5b6f80b447901 (diff)
Merge tag 'dm-pull-15mar25' of git://git.denx.de/u-boot-dm into next
Sync up on test renames
Diffstat (limited to 'test/py/tests/test_sandbox_opts.py')
-rw-r--r--test/py/tests/test_sandbox_opts.py16
1 files changed, 7 insertions, 9 deletions
diff --git a/test/py/tests/test_sandbox_opts.py b/test/py/tests/test_sandbox_opts.py
index 422b43cb3bc..48f5b313870 100644
--- a/test/py/tests/test_sandbox_opts.py
+++ b/test/py/tests/test_sandbox_opts.py
@@ -4,27 +4,25 @@
import pytest
-import u_boot_utils as util
+import utils
# This is needed for Azure, since the default '..' directory is not writeable
TMPDIR = '/tmp/test_cmdline'
@pytest.mark.slow
@pytest.mark.boardspec('sandbox')
-def test_sandbox_cmdline(u_boot_console):
+def test_sandbox_cmdline(ubman):
"""Test building sandbox without CONFIG_CMDLINE"""
- cons = u_boot_console
- out = util.run_and_log(
- cons, ['./tools/buildman/buildman', '-m', '--board', 'sandbox',
+ utils.run_and_log(
+ ubman, ['./tools/buildman/buildman', '-m', '--board', 'sandbox',
'-a', '~CMDLINE', '-o', TMPDIR])
@pytest.mark.slow
@pytest.mark.boardspec('sandbox')
-def test_sandbox_lto(u_boot_console):
+def test_sandbox_lto(ubman):
"""Test building sandbox without CONFIG_LTO"""
- cons = u_boot_console
- out = util.run_and_log(
- cons, ['./tools/buildman/buildman', '-m', '--board', 'sandbox',
+ utils.run_and_log(
+ ubman, ['./tools/buildman/buildman', '-m', '--board', 'sandbox',
'-a', '~LTO', '-o', TMPDIR])