
25 Jan
2025
25 Jan
'25
10:31 p.m.
This fails on samus_tpl as there is no 'net' command.
=> net list Unknown command 'net' - try 'help' !
Fix it by adding a condition for the test.
Add a blank line to keep pylint happy.
Signed-off-by: Simon Glass sjg@chromium.org --- See here:
http://sjg.u-boot.org/u-boot/u-boot/-/jobs/19821
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 bdb7e6f372d..30c6e41334c 100644 --- a/test/py/tests/test_net.py +++ b/test/py/tests/test_net.py @@ -91,6 +91,8 @@ env__router_on_net = True net_set_up = False net6_set_up = False
+ +@pytest.mark.buildconfigspec('cmd_net') def test_net_pre_commands(ubpy): """Execute any commands required to enable network hardware.
--
2.43.0