projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22b29cc
)
test: Run only the selected SPL test
author
Simon Glass
<sjg@chromium.org>
Mon, 26 Oct 2020 02:38:34 +0000
(20:38 -0600)
committer
Simon Glass
<sjg@chromium.org>
Thu, 29 Oct 2020 20:42:18 +0000
(14:42 -0600)
Use the new -k option to select the test to run.
Signed-off-by: Simon Glass <sjg@chromium.org>
test/py/tests/test_spl.py
patch
|
blob
|
history
diff --git
a/test/py/tests/test_spl.py
b/test/py/tests/test_spl.py
index
990cc9b
..
bd273da
100644
(file)
--- a/
test/py/tests/test_spl.py
+++ b/
test/py/tests/test_spl.py
@@
-24,7
+24,7
@@
def test_spl(u_boot_console, ut_spl_subtest):
"""
try:
cons = u_boot_console
- cons.restart_uboot_with_flags(['-u',
ut_spl_subtest
])
+ cons.restart_uboot_with_flags(['-u',
'-k', ut_spl_subtest.split()[1]
])
output = cons.get_spawn_output().replace('\r', '')
assert 'Failures: 0' in output
finally: