u-boot/include/test
Simon Glass c908ecb7b5 test: Support an init/uninit functions for test suites
Some suites need things to be set up before they can run. Add a way to
declare an init function using the UNIT_TEST_INIT() macro. The init
function is just like any other test, but is always placed first so that
it runs before all the other test functions in the suite.

Add an uninit function as well, to clean up after the test.

Signed-off-by: Simon Glass <sjg@chromium.org>
2025-02-11 20:10:58 -06:00
..
cedit-test.h expo: Use standard numbering for save and discard 2024-10-18 14:10:22 -06:00
cmd.h test: Rename test suites to match their linker-list name 2025-01-24 14:34:40 -06:00
common.h test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
env.h test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
export.h clk: Add K210 pll support 2020-07-01 15:01:21 +08:00
fuzz.h test: fuzz: Add framework for fuzzing 2022-06-23 12:58:18 -04:00
hush.h test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
lib.h test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
log.h test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
optee.h test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
overlay.h test: Drop the _test suffix on linker lists 2025-01-24 14:34:40 -06:00
spl.h test: Rename unit-test flags 2024-08-26 18:51:48 -06:00
suites.h test: Pass the test state to cmd_ut_category() 2025-01-24 14:34:41 -06:00
test.h test: Support an init/uninit functions for test suites 2025-02-11 20:10:58 -06:00
ut.h test: Move stat-printing into its own function 2025-01-24 14:34:41 -06:00