Skip to content
Commit ccc0315e authored by Al Semjonovs's avatar Al Semjonovs Committed by Anas Nashif
Browse files

ztest: Handle assert failures without signal handler



The signal handler needs to return gracefully. When multiple
tests assert, the first assert will raise SIGABRT and the signal
handler will run and the test will stop running.
The second assert will raise SIGABRT but the signal handler
will not be called, therefore the test PASS/FAIL status is not
updated correctly.

Signed-off-by: default avatarAl Semjonovs <asemjonovs@google.com>
parent 4a0040f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment