summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/common/include/test/drivers/test_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/test/drivers/common/include/test/drivers/test_state.h')
-rw-r--r--zephyr/test/drivers/common/include/test/drivers/test_state.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/zephyr/test/drivers/common/include/test/drivers/test_state.h b/zephyr/test/drivers/common/include/test/drivers/test_state.h
new file mode 100644
index 0000000000..bea56224fc
--- /dev/null
+++ b/zephyr/test/drivers/common/include/test/drivers/test_state.h
@@ -0,0 +1,17 @@
+/* Copyright 2022 The ChromiumOS Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef ZEPHYR_TEST_DRIVERS_INCLUDE_TEST_STATE_H_
+#define ZEPHYR_TEST_DRIVERS_INCLUDE_TEST_STATE_H_
+
+struct test_state {
+ bool ec_app_main_run;
+};
+
+bool drivers_predicate_pre_main(const void *state);
+
+bool drivers_predicate_post_main(const void *state);
+
+#endif /* ZEPHYR_TEST_DRIVERS_INCLUDE_TEST_STATE_H_ */