zephyr/tests/kernel/sched
peng1 chen f20084ff1c Code Coverage: Fix the issue of function code coverage in thread.c
The k_thread_state_str is a new function added into
kernel/thread.c recently which was used to return
the human friendly thread state, so it hasn't been
called by other existing code.
In order to improve the function code coverage, we
just replace the "th->base.thread_state & _THREAD_PENDING"
code by using k_thread_state_str function in
tests/kernel/sched/preempt/src/main.c, because
k_thread_state_str function is realized by judging
the thread_state member to return the thread state.

Signed-off-by: peng1 chen <peng1.chen@intel.com>
2019-10-23 19:16:24 -07:00
..
deadline coccinelle: standardize k_thread create/define calls with integer timeouts 2019-10-09 08:38:10 -04:00
preempt Code Coverage: Fix the issue of function code coverage in thread.c 2019-10-23 19:16:24 -07:00
schedule_api tests: schedule_api adapt to slow ticks 2019-10-22 23:06:41 -04:00