[PATHv1 1/9] test_net: print out net list

Maxim Uvarov maxim.uvarov at linaro.org
Mon Dec 4 13:04:38 CET 2023


Printing net list is useful in CI log files.

Signed-off-by: Maxim Uvarov <maxim.uvarov at linaro.org>
---
 test/py/tests/test_net.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/py/tests/test_net.py b/test/py/tests/test_net.py
index b2241ae6a4..cd5b791a6a 100644
--- a/test/py/tests/test_net.py
+++ b/test/py/tests/test_net.py
@@ -96,6 +96,8 @@ def test_net_pre_commands(u_boot_console):
     if init_pci:
         u_boot_console.run_command('pci enum')
 
+    u_boot_console.run_command('net list')
+
 @pytest.mark.buildconfigspec('cmd_dhcp')
 def test_net_dhcp(u_boot_console):
     """Test the dhcp command.
-- 
2.30.2



More information about the U-Boot mailing list