blob: e30afbad739ac11bc70303ee7950e74df1f6a7dd [file]
tests:
kernel.timer:
tags:
- kernel
- timer
- userspace
kernel.timer.sloppy_idle:
tags:
- kernel
- timer
# No board enables CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE, so this variant is
# what exercises sys_clock_no_timeout(). Only platforms whose driver
# tolerates the option are listed: the rest stop their time base while the
# CPU still runs, and each is added here by the commit converting it.
platform_allow:
- native_sim
- qemu_riscv32
- qemu_x86
integration_platforms:
- native_sim
extra_configs:
- CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE=y
kernel.timer.sloppy_idle_pm:
tags:
- kernel
- timer
# sys_clock_idle_enter() is only reached from the PM idle path, so this is
# the variant that covers the driver stopping its clock there and
# sys_clock_idle_exit() bringing it back.
platform_allow:
- native_sim
integration_platforms:
- native_sim
extra_args:
- DTC_OVERLAY_FILE=pm.overlay
extra_configs:
- CONFIG_SYSTEM_CLOCK_SLOPPY_IDLE=y
- CONFIG_TEST_PROVIDE_PM_HOOKS=y
- CONFIG_PM=y
kernel.timer.no_multitheading:
tags:
- kernel
- timer
platform_allow:
- qemu_cortex_m3
- nsim/nsim_em
- nsim/nsim_em7d_v22
- nsim/nsim_hs
- nsim/nsim_hs/mpuv6
- nsim/nsim_hs5x
- nsim/nsim_hs6x
- qemu_arc/qemu_arc_em
- qemu_arc/qemu_arc_hs
- qemu_arc/qemu_arc_hs6x
- qemu_leon3
- qemu_or1k
integration_platforms:
- qemu_cortex_m3
- nsim/nsim_em
extra_configs:
- CONFIG_MULTITHREADING=n
- CONFIG_TEST_USERSPACE=n
- CONFIG_SPIN_VALIDATE=n