zephyr/tests/kernel/common/src
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
..
atomic.c cleanup: include/: move atomic.h to sys/atomic.h 2019-06-27 22:55:49 -04:00
bitfield.c tests: Add 'U' to unsigned variable assignments 2018-12-04 22:51:56 -05:00
boot_delay.c tests: common: move boot_delay test to common 2019-02-05 20:40:07 -05:00
byteorder.c cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
clock.c tests/kernel/common: Fix uptime delta test for fast ticks 2019-07-02 22:52:29 -04:00
dlist.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
errno.c pointer-type args: cast appropriately to be 64-bit compatible 2019-06-12 08:20:52 -07:00
intmath.c all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
irq_offload.c pointer-type args: cast appropriately to be 64-bit compatible 2019-06-12 08:20:52 -07:00
main.c kernel: test coverage for sflist 2019-07-01 08:25:25 -07:00
multilib.c
printk.c printk: make it 64-bit compatible 2019-06-17 10:28:44 -07:00
sflist.c tests: common: add tests for extra sflist APIs 2019-07-01 08:25:25 -07:00
slist.c lib: os: fix slist code coverage 2019-07-01 08:25:25 -07:00
timeout_order.c cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00