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:
Simon Glass committed 2020-10-29 14:42:18 -06:00
1 parent 22b29cc8fb
commit e1e54ffe99
1 file changed
+1 -1
+1 -1
View File
@@ -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: