mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 17:22:22 +02: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:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user