On Tue, 26 Sept 2023 at 00:58, AKASHI Takahiro <takahiro.aka...@linaro.org> wrote: > > Added is a new unit test for SCMI base protocol, which will exercise all > the commands provided by the protocol, except SCMI_BASE_NOTIFY_ERRORS. > $ ut dm scmi_base > It is assumed that test.dtb is used as sandbox's device tree. > > Signed-off-by: AKASHI Takahiro <takahiro.aka...@linaro.org> > Reviewed-by: Etienne Carriere <etienne.carri...@foss.st.com> > --- > v4 > * fix a typo fix in v3 > s/scmi_protocol_message_attrs/scmi_base_protocol_message_attrs/ > v3 > * typo: s/scmi_base_protocol_attrs/scmi_base_protocol_message_attrs/ > * modify the code for dynamically allocated vendor/agent names > v2 > * use helper functions, removing direct uses of ops > --- > test/dm/scmi.c | 111 +++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 111 insertions(+) >
Reviewed-by: Simon Glass <s...@chromium.org>