zephyr/tests/kernel
Andy Ross f4803bf117 tests/kernel/context: Fix sleep test for fast ticks
The sleep test was checking that the sleep took no longer than "2
ticks" longer than requested.  But "2 ticks" for fast tick rate
configurations can be "zero ms", and for aliasing reasons it's always
possible to delay for 1 unit more than requested (becuase you can
cross a millisecond/tick/whatever boundary in your own code on either
side of the sleep).  So that "slop" value needs to be no less than
1ms.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-07-02 22:52:29 -04:00
..
arm_irq_vector_table
arm_ramfunc tests: kernel: add simple test for the ramfunc feature 2019-06-27 12:44:20 -07:00
arm_runtime_nmi cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
arm_zero_latency_irqs tests: kernel: submit a simple test for zero-latency irqs 2019-06-26 09:55:13 -04:00
boot_page_table cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
common tests/kernel/common: Fix uptime delta test for fast ticks 2019-07-02 22:52:29 -04:00
context tests/kernel/context: Fix sleep test for fast ticks 2019-07-02 22:52:29 -04:00
critical docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
device cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
early_sleep
fatal tests: kernel: fatal: run test for ARMv8-M with MPU stack guards 2019-07-01 12:54:20 -07:00
fifo cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
fp_sharing
gen_isr_table
interrupt
lifo cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
mbox
mem_heap/mheap_api_concept
mem_pool tests/kernel/mem_pool: Fix timeout units 2019-07-02 22:52:29 -04:00
mem_protect arch/x86: move include/arch/x86/arch.h to ia32/arch.h 2019-07-02 19:30:00 -04:00
mem_slab cleanup: include/: move atomic.h to sys/atomic.h 2019-06-27 22:55:49 -04:00
mp
msgq/msgq_api
mutex tests: sys_mutex: improve code coverage 2019-06-29 13:31:14 -07:00
obj_tracing
pending lifo/fifo: first word is not always first 4 bytes 2019-06-26 09:08:42 -04:00
pipe
poll
profiling/profiling_api cleanup: include/: move misc/stack.h to debug/stack.h 2019-06-27 22:55:49 -04:00
queue mempool: make sure max block size isn't smaller than minimum allowed 2019-07-02 19:41:20 -07:00
sched tests/kernel/sched/schedule_api: Fix slice time test for fast ticks 2019-07-02 22:52:29 -04:00
semaphore docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
sleep kernel: cover k_usleep() from user mode 2019-06-29 20:55:07 -07:00
smp
spinlock
stack
static_idt arch/x86: move include/arch/x86/segmentation.h to ia32/segmentation.h 2019-07-02 19:30:00 -04:00
threads kernel: fix CONFIG_THREAD_NAME from user mode. 2019-07-01 16:29:45 -07:00
tickless tests: samples: Apps shouldn't set tick rate 2019-07-02 22:52:29 -04:00
timer docs: fix misspelling across the tree 2019-06-19 15:34:13 -05:00
workq cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
xip