zephyr/tests/kernel
Alberto Escolar Piedras 22c83f0f97 tests/kernel/context: Detect spurious wakes during timeout check
In 972a4d9f6f
the test was relaxed to allow a possible parallel thread
waking the CPU during the idle timeout checks.

How this was done though, a system timer driver
which wakes the kernel spuriously a bit before the
correct deadline would not be detected, even
though it should.

Let's fix this, ensuring the timer has been
called when we check the wake time in inside the
expected range.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2024-05-07 17:56:50 -04:00
..
cache tests: kernel: cache: Remove adp_xc7k/ae350 from the blacklist 2024-04-22 09:19:27 -04:00
common Revert "tests: kernel: update test case with sys_clock_hw_cycles_per_sec" 2024-05-06 14:52:29 +03:00
condvar/condvar_api
context tests/kernel/context: Detect spurious wakes during timeout check 2024-05-07 17:56:50 -04:00
device tests/kernel/device: Add tests for device deferred init 2024-04-11 15:50:44 -04:00
early_sleep
events
fatal kernel: align thread stack size declaration 2024-03-27 19:27:10 -04:00
fifo
fpu_sharing
gen_isr_table
interrupt tests: kernel: interrupt: nested_irq: support nRF54L15 FLPR CLIC 2024-05-06 19:06:19 +02:00
lifo
mbox
mem_heap/k_heap_api
mem_protect boards: arm: stm32f756 with all mpu regions when testing in userspace 2024-04-30 15:11:57 +02:00
mem_slab
mp arch: rename arch_start_cpu() to arch_cpu_start() 2024-03-25 09:58:35 +00:00
msgq
mutex
obj_core
obj_tracking
pending
pipe
poll
profiling/profiling_api tests: kernel: remove pm from profiling test 2024-04-25 09:55:08 +00:00
queue
sched test: Remove multi level queue limit test 2024-03-12 19:37:40 -04:00
semaphore tests/kernel: Bump kobj thread bitmask size for a few tests 2024-05-02 13:55:03 -04:00
sleep
smp
smp_abort tests: thread abort deadlock scenario 2024-05-02 13:55:03 -04:00
smp_boot_delay
smp_suspend
spinlock arch: rename arch_start_cpu() to arch_cpu_start() 2024-03-25 09:58:35 +00:00
stack/stack
threads Revert "tests: kernel: update test case with sys_clock_hw_cycles_per_sec" 2024-05-06 14:52:29 +03:00
tickless/tickless_concept tests: tickless: do not enable PM 2024-04-25 09:55:08 +00:00
timer tests: timer_behavior: increase stdev tolerance for ite platform 2024-04-25 07:22:47 -04:00
usage/thread_runtime_stats tests: kernel: thread_runtime_stats: Relax precision test for QEMU 2024-03-06 16:42:33 -05:00
workq spelling: Replace occurrences of "iff" with "if and only if" 2024-05-06 14:58:08 +01:00
xip