test/py: Allow tests to be filtered by role
authorSimon Glass <sjg@chromium.org>
Sat, 15 Mar 2025 14:25:51 +0000 (14:25 +0000)
committerTom Rini <trini@konsulko.com>
Thu, 3 Apr 2025 17:41:55 +0000 (11:41 -0600)
commit9a04b9a4392fc0ee49596bb63b7706beb29034de
tree131054c4d03042f01da2af2477c64b153cdac396
parent4c6774c6068add5a768dbcb1fa6bc284500bed0f
test/py: Allow tests to be filtered by role

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@chromium.org>
test/py/conftest.py
test/py/pytest.ini