zephyr/tests/kernel/threads
Andy Ross afbc044322 tests/kernel/thread_apis: Fix timing order
This test understood that it can't demand equality in timing because
of races against real time, so it simply validated that the test
started at or later than the expected timeout expiration.

But when calculating the expected time, it called k_uptime_ticks()
AFTER the timeout was registered.  So on systems with fast ticks (or
just bad luck) a tick expiring between the two steps will look like an
"early" expiration and fail the test.  Do things in the proper order.

Also, use the correct APIs for unit conversion and timeout
construction.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2021-03-08 18:15:53 -05:00
..
dynamic_thread test: dynamic_thread: Fix race condition 2021-03-08 14:22:29 -05:00
no-multithreading
thread_apis tests/kernel/thread_apis: Fix timing order 2021-03-08 18:15:53 -05:00
thread_error_case tests: kernel: Add some testcases for thread 2021-01-24 14:13:29 -05:00
thread_init
thread_stack tests/kernel/thread_stack: Fix KERNEL_COHERENCE interactions 2021-02-11 14:47:40 -05:00
tls tests: kernel: tls: fix testsuite setup 2021-02-22 14:36:06 -05:00