aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lifecycle.h
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2022-06-30 14:19:04 +1000
committerAnastasia Klimchuk <aklm@chromium.org>2022-07-10 22:28:23 +0000
commit2aafc1fda5c917fc85e020414b0af2cc8c841417 (patch)
tree164a2a846115fa2b60abc22c49886ff0a3607398 /tests/lifecycle.h
parentf41465d4408a2c0928fe5f1b8c21a2d6d4e5bd79 (diff)
downloadflashrom-2aafc1fda5c917fc85e020414b0af2cc8c841417.tar.gz
flashrom-2aafc1fda5c917fc85e020414b0af2cc8c841417.tar.bz2
flashrom-2aafc1fda5c917fc85e020414b0af2cc8c841417.zip
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>
Diffstat (limited to 'tests/lifecycle.h')
-rw-r--r--tests/lifecycle.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lifecycle.h b/tests/lifecycle.h
index 074433e9..1d82e694 100644
--- a/tests/lifecycle.h
+++ b/tests/lifecycle.h
@@ -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__ */