mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
test/py: UEFI helloworld requires OF_CONTROL
With CONFIG_OF_CONTROL environment variable $fdtcontroladdr is not defined and test_efi_helloworld_net() fails. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
350c44dfb9
commit
5721df32a3
1 changed files with 3 additions and 2 deletions
|
@ -141,12 +141,13 @@ def fetch_tftp_file(u_boot_console, env_conf):
|
|||
|
||||
return addr
|
||||
|
||||
@pytest.mark.buildconfigspec('of_control')
|
||||
@pytest.mark.buildconfigspec('cmd_bootefi_hello_compile')
|
||||
def test_efi_helloworld_net(u_boot_console):
|
||||
"""Run the helloworld.efi binary via TFTP.
|
||||
|
||||
The helloworld.efi file is downloaded from the TFTP server and gets
|
||||
executed.
|
||||
The helloworld.efi file is downloaded from the TFTP server and is executed
|
||||
using the fallback device tree at $fdtcontroladdr.
|
||||
"""
|
||||
|
||||
addr = fetch_tftp_file(u_boot_console, 'env__efi_loader_helloworld_file')
|
||||
|
|
Loading…
Reference in a new issue