]> Git Repo - J-u-boot.git/blob - test/py/tests/test_sandbox_opts.py
Merge tag 'u-boot-imx-master-20250127' of https://gitlab.denx.de/u-boot/custodians...
[J-u-boot.git] / test / py / tests / test_sandbox_opts.py
1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright 2022 Google LLC
3 # Written by Simon Glass <[email protected]>
4
5 import pytest
6
7 import u_boot_utils as util
8
9 # This is needed for Azure, since the default '..' directory is not writeable
10 TMPDIR = '/tmp/test_cmdline'
11
12 @pytest.mark.slow
13 @pytest.mark.boardspec('sandbox')
14 def test_sandbox_cmdline(u_boot_console):
15     """Test building sandbox without CONFIG_CMDLINE"""
16     cons = u_boot_console
17
18     out = util.run_and_log(
19         cons, ['./tools/buildman/buildman', '-m', '--board', 'sandbox',
20                '-a', '~CMDLINE', '-o', TMPDIR])
21
22 @pytest.mark.slow
23 @pytest.mark.boardspec('sandbox')
24 def test_sandbox_lto(u_boot_console):
25     """Test building sandbox without CONFIG_LTO"""
26     cons = u_boot_console
27
28     out = util.run_and_log(
29         cons, ['./tools/buildman/buildman', '-m', '--board', 'sandbox',
30                '-a', '~LTO', '-o', TMPDIR])
This page took 0.02669 seconds and 4 git commands to generate.