mirror of
https://review.coreboot.org/flashrom.git
synced 2025-08-16 03:44:41 +02:00
tests: Add unit test to run init/shutdown for dummyflasher.c
Introduce test to exercise that init and shutdown of drivers correctly manage the drivers life-time state. We constrain ourselves to dummyflasher in particular here as it does not need any mocking. BUG=b:181803212 TEST=builds and ninja test Change-Id: I3c0ef73397f00c1db7aabb5f9f00cb43525af29c Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/52497 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:

committed by
Nico Huber

parent
ab9d1460ba
commit
cffaac1e0f
@@ -18,6 +18,7 @@ srcs = [
|
||||
'helpers.c',
|
||||
'flashrom.c',
|
||||
'spi25.c',
|
||||
'init_shutdown.c',
|
||||
]
|
||||
|
||||
mocks = [
|
||||
|
Reference in New Issue
Block a user