zephyr/tests/kernel
Peter Bigot 7e71164cc6 tests: kernel: timer: add test for starvation
Add a test that repeatedly reschedules a timer before it expires, and
has no other timers active.  If the timer internal state overflows due
to counter wrap either the uptime or the tick counter may appear to go
backwards.  The test runs until it fails, or until a specified amount
of measured time has passed.

This test is build-only for automated test programs as the default
limit to pass is one hour, and some platforms may require an even
longer period.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2019-12-02 15:28:12 +01:00
..
common kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
context kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
critical tests: kernel: critical: add output to support diagnostics 2019-11-19 15:22:01 -05:00
device x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
early_sleep tests: kernel: add kernel and sleep tags in tests 2019-11-26 13:34:30 -06:00
fatal headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
fifo kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
fp_sharing kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
gen_isr_table kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
interrupt kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
lifo kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
mbox tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00
mem_heap/mheap_api_concept
mem_pool headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
mem_protect tests: semaphore: cleanup asserts 2019-11-15 08:04:52 -05:00
mem_slab tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00
mp kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
msgq/msgq_api coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
mutex coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
obj_tracing coccinelle: standardize kernel API timeout arguments 2019-10-03 11:55:44 -07:00
pending tests: updated names for the kernel tests 2019-10-22 22:55:35 -04:00
pipe tests: new updated names for the kernel tests 2019-10-24 06:25:53 -04:00
poll coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
profiling/profiling_api tests: Never disable SMP 2019-09-26 16:54:06 -04:00
queue coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
sched tests: metaIRQ: Ensure counts are not changing in assert evaluation 2019-11-25 16:50:04 -05:00
semaphore/semaphore tests: semaphore: consolidate semaphore tests 2019-11-15 08:04:52 -05:00
sleep tests: kernel: add kernel and sleep tags in tests 2019-11-26 13:34:30 -06:00
smp kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
spinlock kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
stack/stack tests: stack: consolidate tests 2019-11-15 08:04:52 -05:00
threads tests/kernel/threads/thread_apis: Add k_thread_suspend() edge cases 2019-11-25 19:12:05 -05:00
tickless kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
timer tests: kernel: timer: add test for starvation 2019-12-02 15:28:12 +01:00
workq kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
xip