zephyr/tests/kernel/common
Daniel Leung 8fd3d18b40 tests: kernel/common: incorrect use of k_poll in timeout order
In the timeout order test, the usage of k_poll() assumes that it
only returns after all events are ready. However, that is not
the case, as k_poll() returns when non-zero number of events are
ready. This means the check for all semaphore being ready after
k_poll() will not always pass. So instead of using k_poll(),
simply wait a bit for timers to fire, then check results.

Also add some bits to clean up at the end of test.

Fixes #34585

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
2021-05-25 07:34:59 -05:00
..
src tests: kernel/common: incorrect use of k_poll in timeout order 2021-05-25 07:34:59 -05:00
CMakeLists.txt tests: kernel/common: add tests for bit array 2021-05-07 13:36:22 -04:00
multilib.txt
prj.conf timer: remove QEMU_TICKLESS_WORKAROUND 2020-05-14 13:52:07 +02:00
testcase.yaml tests: common: fix newly added test_nop failing the CI 2021-05-08 17:08:17 -04:00