Made child processes finalize and exit before returning from criterion_run_all_tests
This commit is contained in:
parent
974b7d0393
commit
49106f4916
1 changed files with 5 additions and 0 deletions
|
@ -419,5 +419,10 @@ int criterion_run_all_tests(struct criterion_test_set *set) {
|
|||
int res = criterion_run_all_tests_impl(set);
|
||||
unset_runner_process();
|
||||
|
||||
if (res == -1) {
|
||||
criterion_finalize(set);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
return criterion_options.always_succeed || res;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue