zephyr/tests/kernel/timer/cycle64/testcase.yaml
Adam Kondraciuk d0785ce58f tests: kernel: timer: cycle64: Add support for GRTC
For GRTC timer a longer timeout is required:
(2 ^ 32) * 2 * 1us

Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no>
2025-06-06 14:48:53 +01:00

35 lines
1.1 KiB
YAML

# Note: Re: slow vs fast
#
# Some platforms such as native_sim, qemu_riscv32, qemu_riscv64
# complete these tests almost instantaneously because of qemu timer
# quirks ("time warp") even though the test reports that it completes
# in e.g. 14 s. We can take advantage of that for fast tests on each PR
# but we also want to exercise this code path during daily builds or
# otherwise when users specify "twister --enable-slow".
#
# As other platforms are added with varying timer frequencies, increase
# timeout as necessary.
tests:
kernel.timer.cycle64:
tags:
- kernel
- timer
filter: CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER and not CONFIG_NRF_GRTC_TIMER
arch_exclude: posix
timeout: 140
slow: true
kernel.timer.cycle64.fast:
tags:
- kernel
- timer
filter: CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER and not CONFIG_NRF_GRTC_TIMER
arch_allow: posix
kernel.timer.cycle64.grtc:
tags:
- kernel
- timer
filter: CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER and CONFIG_NRF_GRTC_TIMER
arch_exclude: posix
timeout: 8600
slow: true