zephyr/tests/kernel
Andy Ross 83d1ca06dc tests/mem_protect/stackprot: Need a delay under SMP
The "alternate thread" test would spawn a thread and then exit the
test, but on SMP that other thread runs asynchronously and it was
possible for the main thread to exit the test entirely before the test
thread had a chance to run (and overflow its stack), leading to
spurious test case failures.

Obviously we can't exactly synchronize to an async crash, so put a
short delay in after spawning the thread.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2020-02-03 09:31:56 -05:00
..
common
context
critical
device
early_sleep
fatal
fifo
fp_sharing
gen_isr_table
interrupt
lifo
mbox
mem_heap/mheap_api_concept
mem_pool
mem_protect
mem_slab
mp
msgq/msgq_api
mutex
obj_tracing
pending
pipe
poll
profiling/profiling_api
queue
sched
semaphore/semaphore
sleep
smp
spinlock
stack/stack
threads
tickless
timer
workq
xip