mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-27 23:20:26 +09:00
test: Run only the selected SPL test
Use the new -k option to select the test to run. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
22b29cc8fb
commit
e1e54ffe99
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user