
15 Nov
2023
15 Nov
'23
12:29 a.m.
On Mon, 13 Nov 2023 at 19:14, AKASHI Takahiro takahiro.akashi@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@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@chromium.org