From: Simon Glass Date: Mon, 26 Oct 2020 02:38:34 +0000 (-0600) Subject: test: Run only the selected SPL test X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e1e54ffe9956449d79697d31648217065e033045;p=u-boot.git test: Run only the selected SPL test Use the new -k option to select the test to run. Signed-off-by: Simon Glass --- 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: