summaryrefslogtreecommitdiff
path: root/zephyr/Kconfig.tasks
diff options
context:
space:
mode:
authorYuval Peress <peress@google.com>2022-01-18 10:05:04 -0700
committerCommit Bot <commit-bot@chromium.org>2022-01-25 19:41:46 +0000
commitbba1bc77fbba93ecc26470bef1ebdd6226e6d225 (patch)
tree6976cdf1aee26991ad67cabd13bd5ab2d4ec5def /zephyr/Kconfig.tasks
parent340a6929fab9a1b06054b5d6560798913d9cc728 (diff)
downloadchrome-ec-bba1bc77fbba93ecc26470bef1ebdd6226e6d225.tar.gz
zephyr: test: Migrate drivers test to new ztest API
BRANCH=none BUG=none TEST=zmake configure --test zephyr/test/drivers Signed-off-by: Yuval Peress <peress@google.com> Change-Id: I3c62d8ad0f7ed472953bc5b159af042d502be79a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3398954 Reviewed-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'zephyr/Kconfig.tasks')
-rw-r--r--zephyr/Kconfig.tasks9
1 files changed, 9 insertions, 0 deletions
diff --git a/zephyr/Kconfig.tasks b/zephyr/Kconfig.tasks
index da3ae2f95f..d8c456808d 100644
--- a/zephyr/Kconfig.tasks
+++ b/zephyr/Kconfig.tasks
@@ -6,6 +6,15 @@
menu "Tasks"
+config TASKS_SET_TEST_RUNNER_TID_RULE
+ bool "Automatically call set_test_runner_tid() for each test"
+ depends on ZTEST && ZTEST_NEW_API
+ help
+ This enables the test rule which will run before each unit test and
+ call set_test_runner_tid(). This function is needed to allow-list the
+ new thread created by ztest to access some of the components in the
+ EC.
+
config HAS_TASK_CHARGER
bool
depends on PLATFORM_EC_BATTERY