summaryrefslogtreecommitdiff
path: root/include/test_util.h
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2013-09-02 13:55:02 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-05 07:20:56 +0000
commitb448746bace6d021343bfec615d1cf98f7be17bb (patch)
tree839a25cfa03d6114a225d88fa324fe2b51598cda /include/test_util.h
parent6c3be20539a3b336e2c1c83181ea6f9b0c1506d2 (diff)
downloadchrome-ec-b448746bace6d021343bfec615d1cf98f7be17bb.tar.gz
Add boot key test
This checks boot key combination like Power-F3-ESC and Power-F3-Down can be properly detected. BUG=chrome-os-partner:19236 TEST=Pass kb_scan test BRANCH=None Change-Id: I180918977299219a8421798dac2ab9fed84ef9a2 Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/167802
Diffstat (limited to 'include/test_util.h')
-rw-r--r--include/test_util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/test_util.h b/include/test_util.h
index 367a602ae1..f2b68c5981 100644
--- a/include/test_util.h
+++ b/include/test_util.h
@@ -81,6 +81,12 @@ enum test_state_t {
/* Hooks gcov_flush() for test coverage report generation */
void register_test_end_hook(void);
+/*
+ * Test initialization. This is called after all _pre_init() calls and before
+ * all _init() calls.
+ */
+void test_init(void);
+
/* Test entry point */
void run_test(void);