mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
tests: Add lifecycle function prototypes into lifecycle.h header
Lifecycle functions will be used in all lifecycle tests and need to be available by including lifecycle.h BUG=b:237606255 TEST=ninja test Change-Id: Ic4e9defe16c535c9384c1304c1cad2f5b84294c9 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/65542 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Thomas Heijligen <src@posteo.de>
This commit is contained in:
@ -29,4 +29,10 @@
|
||||
#define SKIP_TEST(name) \
|
||||
void name (void **state) { skip(); }
|
||||
|
||||
void run_basic_lifecycle(void **state, const struct io_mock *io,
|
||||
const struct programmer_entry *prog, const char *param);
|
||||
|
||||
void run_probe_lifecycle(void **state, const struct io_mock *io,
|
||||
const struct programmer_entry *prog, const char *param, const char *const chip_name);
|
||||
|
||||
#endif /* __LIFECYCLE_H__ */
|
||||
|
Reference in New Issue
Block a user