test/py: UEFI helloworld requires OF_CONTROL
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 28 Mar 2020 09:41:20 +0000 (10:41 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 28 Mar 2020 09:45:03 +0000 (10:45 +0100)
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>
test/py/tests/test_efi_loader.py

index adf9d7745299d2c5932d452acd91b93fccecbdb7..e105645484f04c43723bd87a1013253c0f3f0655 100644 (file)
@@ -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')