]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
py: tests: Add missing net dependencies
authorMichal Simek <michal.simek@xilinx.com>
Thu, 24 May 2018 08:04:19 +0000 (10:04 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 30 May 2018 06:24:08 +0000 (08:24 +0200)
boot_config2 requires net to be enabled.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
test/py/tests/test_net_boot.py

index ca24741b5969180710d03be4c0b4d0fe858621a9..6d9c2345d5a81bdc7f2cf92728e75176c5c14279 100644 (file)
@@ -56,6 +56,7 @@ def test_net_tftpboot_boot(u_boot_console):
            u_boot_console.drain_console()
            u_boot_console.cleanup_spawn()
 
+@pytest.mark.buildconfigspec('cmd_net')
 def test_net_tftpboot_boot_config2(u_boot_console):
     if not test_net.net_set_up:
         pytest.skip('Network not initialized')