[PATCH v2 26/28] test/py: Allow tests to be filtered by role

Tom Rini trini at konsulko.com
Mon Feb 17 18:48:05 CET 2025


On Sun, Feb 16, 2025 at 01:44:11PM -0700, Simon Glass wrote:

> Some test can only be run by a particular board in a lab, e.g. because
> they are loaded with an OS image used by the test. Add a way to specify
> this in tests.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v2:
> - Add new patch to allow tests to be filtered by role
> 
>  test/py/conftest.py | 22 ++++++++++++++++++++++
>  test/py/pytest.ini  |  1 +
>  2 files changed, 23 insertions(+)

This seems duplicative of the existing functionality we have, all
hardware tests can only be run on platforms which configure what the
test requires, in the boardenv file.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250217/94ad7fc0/attachment.sig>


More information about the U-Boot mailing list