commit | ccc0315e14341879cc466156a4c925dd27b06525 | [log] [tgz] |
---|---|---|
author | Al Semjonovs <asemjonovs@google.com> | Tue Aug 02 13:10:05 2022 -0600 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Aug 05 12:51:44 2022 -0400 |
tree | b123db7f61e3097fa7070548e78eee6759d892c5 | |
parent | 4a0040f346171232e96b36bcffe9604079df90c9 [diff] |
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: Al Semjonovs <asemjonovs@google.com>