py: tests: Add missing net dependencies

boot_config2 requires net to be enabled.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Michal Simek
2018-05-24 10:04:19 +02:00
parent ce170a99b8
commit 630486086b

View 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')