mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
vpl: Support running vpl tests
Add support for these to the pytest system. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
9ae25b9ac9
commit
313438c971
3 changed files with 45 additions and 3 deletions
|
@ -322,8 +322,11 @@ def pytest_generate_tests(metafunc):
|
|||
if fn == 'ut_subtest':
|
||||
generate_ut_subtest(metafunc, fn, '/u-boot.sym')
|
||||
continue
|
||||
if fn == 'ut_spl_subtest':
|
||||
generate_ut_subtest(metafunc, fn, '/spl/u-boot-spl.sym')
|
||||
m_subtest = re.match('ut_(.)pl_subtest', fn)
|
||||
if m_subtest:
|
||||
spl_name = m_subtest.group(1)
|
||||
generate_ut_subtest(
|
||||
metafunc, fn, f'/{spl_name}pl/u-boot-{spl_name}pl.sym')
|
||||
continue
|
||||
generate_config(metafunc, fn)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue