[PATCH v3 1/5] test: dm: skip scmi tests against disabled protocols

Simon Glass sjg at chromium.org
Wed Nov 15 00:29:44 CET 2023


On Mon, 13 Nov 2023 at 19:14, AKASHI Takahiro
<takahiro.akashi at linaro.org> wrote:
>
> This is a precautionary change to make scmi tests workable whether or not
> a specific protocol be enabled. If a given protocol is not configured,
> we skip the test by returning -EAGAIN.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi at linaro.org>
> ---
> v9
> * return -EAGAIN if we want to skip a test
> * use CONFIG_IS_ENABLED() rather than IS_ENABLED()
> ---
>  test/dm/scmi.c | 12 ++++++++++++
>  1 file changed, 12 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list