diff options
author | Tom Rini <trini@konsulko.com> | 2024-05-28 15:08:55 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-05-28 15:08:55 -0600 |
commit | c81de24c6e8b38a97c23a7ac822933743a36d902 (patch) | |
tree | a8d3408b9bcbeea34148d1b9b574c5f79111e111 | |
parent | 14e9e0dfba57ca29e2b63820412bbb8265534307 (diff) | |
download | u-boot-c81de24c6e8b38a97c23a7ac822933743a36d902.zip u-boot-c81de24c6e8b38a97c23a7ac822933743a36d902.tar.gz u-boot-c81de24c6e8b38a97c23a7ac822933743a36d902.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.py | 3 |
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') |