Skip to content
Commit 6f8bb5d9 authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

tests/kernel/semaphore: Skip COHERENCE-hostile test cases



These two cases use a k_pipe to transfer data, and do it (as is
customary) by copying into or out of buffers on the stack.  But that
doesn't work when KERNEL_COHERENCE=y, because the pipe code has a
possibly-too-sophisticated zero copy implementation, and will do the
copy into the destination thread synchronously with the k_put_put()
call from the other CPU.

Normally the fix is to use a static buffer instead, but in this case
the buffers are shared between multiple simultaneous threads, so can't
be shared.

Just skip the tests, pending some rework to how they communicate.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 8fe7d9d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment