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>
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
|
||||
#include <test/test.h>
|
||||
|
||||
/* Declare a new environment test */
|
||||
/* Declare a new optee test */
|
||||
#define OPTEE_TEST(_name, _flags) UNIT_TEST(_name, _flags, optee)
|
||||
#define OPTEE_TEST_INIT(_name, _flags) UNIT_TEST_INIT(_name, _flags, optee)
|
||||
#define OPTEE_TEST_UNINIT(_name, _flags) UNIT_TEST_UNINIT(_name, _flags, optee)
|
||||
|
||||
#endif /* __TEST_OPTEE_H__ */
|
||||
|
||||
Reference in New Issue
Block a user