aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/py/tests/test_net_boot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/py/tests/test_net_boot.py b/test/py/tests/test_net_boot.py
index e5e8ec6..d545b88 100644
--- a/test/py/tests/test_net_boot.py
+++ b/test/py/tests/test_net_boot.py
@@ -201,7 +201,8 @@ def setup_pxe_boot(u_boot_console):
pytest.skip('No PXE bootable file to read')
test_net.test_net_dhcp(u_boot_console)
- test_net.test_net_setup_static(u_boot_console)
+ if not test_net.net_set_up:
+ test_net.test_net_setup_static(u_boot_console)
return f
@pytest.mark.buildconfigspec('cmd_net')