test: Drop struct dm_test_state
authorSimon Glass <sjg@chromium.org>
Mon, 8 Mar 2021 00:34:57 +0000 (17:34 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 12 Mar 2021 14:57:30 +0000 (09:57 -0500)
commit4a467c6de6765a9685d1e3ced95ce141a14dfcf3
tree9a6bc1cf452761b933013192ee8eb638cfe98ece
parent72b524cf426697e764c9c63611d0f6743f50f0f5
test: Drop struct dm_test_state

Driver model is a core part of U-Boot. We don't really need to have a
separate test structure for the driver model tests and it makes it harder
to write a test if you have to think about which type of test it is.

Subsume the fields from struct dm_test_state into struct unit_test_state
and delete the former.

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