[PATCH 2/2] test: allow testing with NET_LWIP=y
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Sat May 3 15:31:55 CEST 2025
Adjust network tests to run with CONFIG_NET_LWIP=y.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
test/py/tests/test_efi_loader.py | 2 +-
test/py/tests/test_fpga.py | 4 ++--
test/py/tests/test_net.py | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/py/tests/test_efi_loader.py b/test/py/tests/test_efi_loader.py
index 58f2655191f..86292f2ae33 100644
--- a/test/py/tests/test_efi_loader.py
+++ b/test/py/tests/test_efi_loader.py
@@ -96,7 +96,7 @@ def test_efi_setup_dhcp(ubman):
global net_set_up
net_set_up = True
- at pytest.mark.buildconfigspec('net')
+ at pytest.mark.buildconfigspec('net', 'net_lwip')
def test_efi_setup_static(ubman):
"""Set up the network using a static IP configuration.
diff --git a/test/py/tests/test_fpga.py b/test/py/tests/test_fpga.py
index 74cd42b910e..299a8653f74 100644
--- a/test/py/tests/test_fpga.py
+++ b/test/py/tests/test_fpga.py
@@ -506,7 +506,7 @@ def test_fpga_loadfs(ubman):
@pytest.mark.buildconfigspec('cmd_fpga_load_secure')
@pytest.mark.buildconfigspec('cmd_net')
@pytest.mark.buildconfigspec('cmd_dhcp')
- at pytest.mark.buildconfigspec('net')
+ at pytest.mark.buildconfigspec('net', 'net_lwip')
def test_fpga_secure_bit_auth(ubman):
test_net.test_net_dhcp(ubman)
@@ -534,7 +534,7 @@ def test_fpga_secure_bit_auth(ubman):
@pytest.mark.buildconfigspec('cmd_fpga_load_secure')
@pytest.mark.buildconfigspec('cmd_net')
@pytest.mark.buildconfigspec('cmd_dhcp')
- at pytest.mark.buildconfigspec('net')
+ at pytest.mark.buildconfigspec('net', 'net_lwip')
def test_fpga_secure_bit_img_auth_kup(ubman):
test_net.test_net_dhcp(ubman)
diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
index 4732e4b57f8..3bf91608654 100644
--- a/test/py/tests/test_net.py
+++ b/test/py/tests/test_net.py
@@ -199,7 +199,7 @@ def test_net_dhcp6(ubman):
global net6_set_up
net6_set_up = True
- at pytest.mark.buildconfigspec('net')
+ at pytest.mark.buildconfigspec('net', 'net_lwip')
def test_net_setup_static(ubman):
"""Set up a static IP configuration.
--
2.48.1
More information about the U-Boot
mailing list