u-boot/include/test/optee.h
Simon Glass 1c05e2c0eb 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>
2025-02-11 20:10:59 -06:00

16 lines
475 B
C

/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) 2019, Theobroma Systems Design und Consulting GmbH
*/
#ifndef __TEST_OPTEE_H__
#define __TEST_OPTEE_H__
#include <test/test.h>
/* 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__ */