git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0043428
)
test: Make net tests depend on CONFIG_CMD_NET
author
Simon Glass
<sjg@chromium.org>
Sun, 9 Feb 2025 16:07:19 +0000
(09:07 -0700)
committer
Simon Glass
<sjg@chromium.org>
Sat, 15 Mar 2025 11:47:05 +0000
(11:47 +0000)
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>
test/py/tests/test_net.py
patch
|
blob
|
history
diff --git
a/test/py/tests/test_net.py
b/test/py/tests/test_net.py
index
9f4ee0c
..
4732e4b
100644
(file)
--- 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(ubman):
"""Execute any commands required to enable network hardware.