[PATCH 1/2] test: allow multiple config options in buildconfigspec

Jerome Forissier jerome.forissier at linaro.org
Mon May 5 15:53:01 CEST 2025



On 5/3/25 15:31, Heinrich Schuchardt wrote:
> In some cases we have alternative configuration options that supply the
> same functionality, e.g CONFIG_NET and CONFIG_NET_LWIP.
> 
> Allow to specify all of them as arguments for buildconfigspec() and execute
> the text if any of these is fulfilled, e.g.
> 
>     @pytest.mark.buildconfigspec('net', 'net_lwip')
> 
> Update the documentation.
> 
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
>  doc/develop/py_testing.rst | 24 ++++++++++++++++++++++++
>  test/py/conftest.py        | 10 +++++++---
>  2 files changed, 31 insertions(+), 3 deletions(-)
[...]

Acked-by: Jerome Forissier <jerome.forissier at linaro.org>

Thanks,
-- 
Jerome


More information about the U-Boot mailing list