summaryrefslogtreecommitdiff
path: root/zephyr/test/drivers/timer
Commit message (Collapse)AuthorAgeFilesLines
* zephyr: tests: Test `common/timer.c` console commandsTristan Honscheid2022-09-231-0/+48
| | | | | | | | | | | | | | Test two console commands, gettime and timerinfo. BRANCH=None BUG=b:247608485 TEST=./twister Signed-off-by: Tristan Honscheid <honscheid@google.com> Change-Id: Iecd55f003aacc3ce68e63c3f41de3e327aa39c47 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3910978 Reviewed-by: Yuval Peress <peress@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
* zephyr: tests: Test timer_init() in common/timer.cTristan Honscheid2022-09-232-0/+98
Test the timer initialization function. Add some mocks for the board-level functions and the jump tag API. BRANCH=None BUG=b:247608485 TEST=./twister Signed-off-by: Tristan Honscheid <honscheid@google.com> Change-Id: I7edeca26e93f18c467618691967299f411507166 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3910977 Reviewed-by: Tomasz Michalec <tmichalec@google.com> Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>