]> git.baikalelectronics.ru Git - uboot.git/commit
test: Call test_pre/post_run() from driver model tests
authorSimon Glass <sjg@chromium.org>
Mon, 8 Mar 2021 00:34:49 +0000 (17:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 Mar 2021 14:57:29 +0000 (09:57 -0500)
commite612377cbc21a83e2b11372816c9cd9fcd0b40fe
tree1ffba2c09c279767da8cbffcfa917069abe25654
parent5e5fa29a607d0e7729881f17f2ad9a83bc05f900
test: Call test_pre/post_run() from driver model tests

Ultimately we want to get rid of the special driver model test init and
use test_pre_run() and test_post_run() for all tests. As a first step,
use those function to handle console recording.

For now we need a special case for setting uts->start, but that wil go
away once all init is in one place.

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