summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-10-25 20:38:34 -0600
committerSimon Glass <sjg@chromium.org>2020-10-29 14:42:18 -0600
commite1e54ffe9956449d79697d31648217065e033045 (patch)
treed1015e4bc969296974a8e641f9467871393d004d /test
parent22b29cc8fb15f611e8e2af6fde8627a32abea76d (diff)
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>
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_spl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_spl.py b/test/py/tests/test_spl.py
index 990cc9b071..bd273dad89 100644
--- 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: