From c81de24c6e8b38a97c23a7ac822933743a36d902 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 28 May 2024 15:08:55 -0600 Subject: WIP: Only static net if no dhcp Signed-off-by: Tom Rini --- test/py/tests/test_net_boot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- cgit v1.1