mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00:00
![]() 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> |
||
---|---|---|
.. | ||
cedit-test.h | ||
cmd.h | ||
common.h | ||
env.h | ||
export.h | ||
fuzz.h | ||
hush.h | ||
lib.h | ||
log.h | ||
optee.h | ||
overlay.h | ||
spl.h | ||
suites.h | ||
test.h | ||
ut.h |