diff options
author | Rob Barnes <robbarnes@google.com> | 2023-04-05 14:21:41 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-06 13:32:25 +0000 |
commit | 4bebcca031504ec7f2a88088de31d777333e3c30 (patch) | |
tree | 9f278e336e119b217dd3800acc78fe44df6fd97d /zephyr/test | |
parent | 54f60fea2490c4bb56c387f035b175b3ddbc3960 (diff) | |
download | chrome-ec-4bebcca031504ec7f2a88088de31d777333e3c30.tar.gz |
system_safe_mode: Set test runner tid
Add CONFIG_TASKS_SET_TEST_RUNNER_TID_RULE to system safe mode unit test
so test runner tid is set automatically.
Without this change, the look up of the task id of the current task will
cause an assert error.
BUG=none
BRANCH=None
TEST=Test passes without assert errors
Change-Id: I35d012253d3ed907c3f1a921c894e6c43e816ef1
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4404230
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'zephyr/test')
-rw-r--r-- | zephyr/test/system_safe_mode/prj.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zephyr/test/system_safe_mode/prj.conf b/zephyr/test/system_safe_mode/prj.conf index 6ecdbe1b16..6c520dd235 100644 --- a/zephyr/test/system_safe_mode/prj.conf +++ b/zephyr/test/system_safe_mode/prj.conf @@ -13,6 +13,7 @@ CONFIG_TASK_HOSTCMD_THREAD_DEDICATED=y CONFIG_PLATFORM_EC_HOSTCMD=y CONFIG_ASSERT_TEST=y CONFIG_SHIMMED_TASKS=y +CONFIG_TASKS_SET_TEST_RUNNER_TID_RULE=y # Disable because not needed CONFIG_PLATFORM_EC_BACKLIGHT_LID=n |