test/py: test_efi_grub_net() requires OF_CONTROL
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 30 Mar 2020 18:27:42 +0000 (20:27 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 30 Mar 2020 18:27:42 +0000 (20:27 +0200)
With CONFIG_OF_CONTROL environment variable $fdtcontroladdr is not defined
and test_efi_grub_net() fails.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
test/py/tests/test_efi_loader.py

index e105645484f04c43723bd87a1013253c0f3f0655..9465c28fbc51394f61d607211787ee24548a6668 100644 (file)
@@ -170,6 +170,7 @@ def test_efi_helloworld_builtin(u_boot_console):
     expected_text = 'Hello, world'
     assert expected_text in output
 
+@pytest.mark.buildconfigspec('of_control')
 @pytest.mark.buildconfigspec('cmd_bootefi')
 def test_efi_grub_net(u_boot_console):
     """Run the grub.efi binary via TFTP.