zephyr/tests
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
..
application_development cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
benchmarks cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
bluetooth tests: samples: Apps shouldn't set tick rate 2019-07-02 22:52:29 -04:00
boards cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
booting/stub license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cmsis_rtos_v1 tests: cmsis_rtos_v1: remove cast abuses 2019-06-01 10:21:13 -04:00
cmsis_rtos_v2 lib: cmsis_v2: set default dynamic stack size 2019-05-02 15:42:33 -04:00
crypto cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
drivers tests: samples: Apps shouldn't set tick rate 2019-07-02 22:52:29 -04:00
kernel tests/kernel/common: Fix uptime delta test for fast ticks 2019-07-02 22:52:29 -04:00
lib tests: mem_alloc: don't set main thread size 2019-07-01 14:30:48 -07:00
misc cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
net tests: net: ip-addr: Avoid possible null pointer dereference 2019-07-02 11:37:05 +03:00
posix cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
shell shell: add test for new built-in command 2019-05-24 11:04:42 +02:00
subsys tests: remove redundant CONFIG_HW_STACK_PROTECTION=y setting 2019-07-01 12:54:20 -07:00
unit cleanup: include/: move misc/math_extras.h to sys/math_extras.h 2019-06-27 22:55:49 -04:00
ztest subsys/testsuite/ztest: change zassert_mem_equal to macro 2019-06-03 09:39:37 -04:00