1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright 2022 Google LLC
7 import u_boot_utils as util
9 # This is needed for Azure, since the default '..' directory is not writeable
10 TMPDIR = '/tmp/test_cmdline'
13 @pytest.mark.boardspec('sandbox')
14 def test_sandbox_cmdline(u_boot_console):
15 """Test building sandbox without CONFIG_CMDLINE"""
18 out = util.run_and_log(
19 cons, ['./tools/buildman/buildman', '-m', '--board', 'sandbox',
20 '-a', '~CMDLINE', '-o', TMPDIR])
23 @pytest.mark.boardspec('sandbox')
24 def test_sandbox_lto(u_boot_console):
25 """Test building sandbox without CONFIG_LTO"""
28 out = util.run_and_log(
29 cons, ['./tools/buildman/buildman', '-m', '--board', 'sandbox',
30 '-a', '~LTO', '-o', TMPDIR])