test: Update optee to do init and uninit from tests
authorSimon Glass <sjg@chromium.org>
Fri, 7 Feb 2025 18:30:50 +0000 (11:30 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 12 Feb 2025 02:10:59 +0000 (20:10 -0600)
commit1c05e2c0eb9cd449a743d49c89a777b6bc803a15
tree74b2eec64c8876c830cc11990f51223c21bed0eb
parent7e1c6bd0778baffd90164e69f1d5f8ea8729a5ae
test: Update optee to do init and uninit from tests

Rather than having an init function and then running the tests, create a
test-init function to do it. This will allow us to get rid of the
command function.

Fix the comment abotu 'environment' while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/test/optee.h
test/optee/cmd_ut_optee.c