test/unwind: exit with nonzero error code in case of failure

Follow-up to d374d7d23
master
Xavier Leroy 2020-07-28 10:27:07 +02:00
parent ba2b98608a
commit 82625c6105
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ value ml_perform_stack_walk() {
printf("TEST FAILED\n");
/* Re-run the test to produce a trace */
perform_stack_walk(1);
exit(1);
}
return Val_unit;
}