zephyr/tests/kernel
Andy Ross 8bd8663bb3 tests/kernel/common: Fix uptime delta test for fast ticks
The test for the k_uptime_delta utilities was calling it in a loop and
waiting for the uptime to advance.  But the code was specifically
wanting it to advance 5ms or more at one go, which clearly isn't going
to work for a tick rate above 200 Hz.

The weird thing is that the test knew this and even commented about
the limitation.  Which seems silly: it's perfectly fine for the clock
to advance just a single millisecond.  That's correct behavior too.
Let's test for that, and it will work everywhere.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-07-02 22:52:29 -04:00
..
arm_irq_vector_table tests: adjust stack size for mps2_an385's coverage test 2019-04-11 17:59:39 -04:00
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: add case for CONFIG_APIC_TIMER 2019-06-27 07:20:54 -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 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
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 arch/x86/Kconfig: remove CONFIG_ISA_IA32 2019-06-14 05:49:13 -04:00
gen_isr_table tests: kernel: Exclude platforms stm32_min_dev_* 2019-04-26 03:34:45 -07:00
interrupt tests: kernel: Exclude platforms stm32_min_dev_* 2019-04-26 03:34:45 -07:00
lifo cleanup: include/: move misc/slist.h to sys/slist.h 2019-06-27 22:55:49 -04:00
mbox pointer-type args: cast appropriately to be 64-bit compatible 2019-06-12 08:20:52 -07:00
mem_heap/mheap_api_concept license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
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 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
msgq/msgq_api license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
mutex tests: sys_mutex: improve code coverage 2019-06-29 13:31:14 -07:00
obj_tracing k_stack: make it 64-bit compatible 2019-06-14 05:46:29 -04:00
pending lifo/fifo: first word is not always first 4 bytes 2019-06-26 09:08:42 -04:00
pipe tests: pipe: fix error with optimization disabled 2019-05-02 07:22:37 -04:00
poll tests: poll: expand userspace coverage 2019-06-18 09:08:01 -04:00
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 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
spinlock license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
stack k_stack: make it 64-bit compatible 2019-06-14 05:46:29 -04:00
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 license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00