aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-05-28 15:08:55 -0600
committerTom Rini <trini@konsulko.com>2024-05-28 15:08:55 -0600
commitc81de24c6e8b38a97c23a7ac822933743a36d902 (patch)
treea8d3408b9bcbeea34148d1b9b574c5f79111e111
parent14e9e0dfba57ca29e2b63820412bbb8265534307 (diff)
downloadu-boot-TEST/v5-kernel-pytest.zip
u-boot-TEST/v5-kernel-pytest.tar.gz
u-boot-TEST/v5-kernel-pytest.tar.bz2
WIP: Only static net if no dhcpTEST/v5-kernel-pytest
Signed-off-by: Tom Rini <trini@konsulko.com>
-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')