Skip to content
Commit cdb961ea authored by Yuval Peress's avatar Yuval Peress Committed by Carles Cufí
Browse files

ztest: remove init_testing



When KERNEL was not defined (unittest), the call to init_testing was
used to set a longjump target using 'stack_fail'. When triggered,
this was actually causing a segfault, because longjmp is only valid
if going directly up the stack. Since init_testing returned, it was
no longer on the stack. Instead, that logic MUST be inlined.

Signed-off-by: default avatarYuval Peress <peress@google.com>
parent ec5b59fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment