summaryrefslogtreecommitdiff
path: root/driver/accelgyro_icm_common.c
diff options
context:
space:
mode:
authorTomasz Michalec <tm@semihalf.com>2021-11-25 15:08:39 +0100
committerCommit Bot <commit-bot@chromium.org>2021-12-01 13:39:20 +0000
commit3e87d882a28737dc76ce2257b931af528f353552 (patch)
tree3bbde24682070af555ee4bba64deed6337375c68 /driver/accelgyro_icm_common.c
parentc11b139b0bdee8e9fc8dec8cd65ccb3bbb46c7db (diff)
downloadchrome-ec-factory-kukui-14374.B-main.tar.gz
zephyr: drivers: Add hibernation delay unit testfactory-kukui-14374.B-main
Add unit test for hibernation delay set using host command and UART command. system_hibernate() function in test stubs is replaced with FFF fake function to allow tests to check if it was called. BUG=b:206903370 BRANCH=none TEST=zmake configure --test zephyr/test/drivers Signed-off-by: Tomasz Michalec <tm@semihalf.com> Change-Id: I7546a736f9dfa731875741930fa4e6dd9106d22d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3302215 Tested-by: Tomasz Michalec <tmichalec@google.com> Commit-Queue: Tomasz Michalec <tmichalec@google.com> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com>
Diffstat (limited to 'driver/accelgyro_icm_common.c')
0 files changed, 0 insertions, 0 deletions