zephyr/tests/kernel/timer/cycle64/testcase.yaml
Alberto Escolar Piedras b10817ba25 tests: timer cycle64: Fix filtering for POSIX arch
This test was excluding and including only
the native_posix board, while it should have instead
excluded/allowed anything in the architecture.
=> Change the filtering accordingly.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-05-04 16:48:01 -04:00

23 lines
808 B
YAML

# Note: Re: slow vs fast
#
# Some platforms such as native_posix, 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
arch_exclude: posix
timeout: 140
slow: true
kernel.timer.cycle64.fast:
tags: kernel timer
filter: CONFIG_TIMER_HAS_64BIT_CYCLE_COUNTER
arch_allow: posix