Skip to content
Commit bcd38031 authored by Andrew Boie's avatar Andrew Boie Committed by Andrew Boie
Browse files

tests: msgq: run in user mode when possible



Unnecessary k_thread_abort() removed from test_msgq_purge_when_put.

A single global msgq object is now shared instead of being declared
on thread stacks, except for an ISR test case which has had its
semaphore renamed.

Moved k_sem_init() call from msgq_thread() to test_msgq_thread()
to fix a race condition.

userspace tag added to testcase.yaml.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent bf7d5339
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment