test: Create pre/post-run functions
authorSimon Glass <sjg@chromium.org>
Mon, 8 Mar 2021 00:34:48 +0000 (17:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 Mar 2021 14:57:29 +0000 (09:57 -0500)
commitd002a2764418fa8f054d94789e7814f60294318f
treed1c2a10f1ebb69d7101d5bdfc15aa540d10af0ed
parent1c7217511cd9a050183402b56c0371e4f9720bea
test: Create pre/post-run functions

Split out the test preparation into a separation function before
expanding it. Add a post-run function as well, currently empty.

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