]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: dm: skip scmi tests against disabled protocols
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 14 Nov 2023 02:14:24 +0000 (11:14 +0900)
committerTom Rini <trini@konsulko.com>
Wed, 29 Nov 2023 03:31:03 +0000 (22:31 -0500)
commit63cd0dceeab3bc679bdee4dfc151b2bf3fd50372
tree62decf5a1d1c85e1db2640363cdfb9ac08701aab
parent0d4d9f94c555577f78cddc372c307465fc92413e
test: dm: skip scmi tests against disabled protocols

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@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
test/dm/scmi.c