[Issue #11] Fixed coverage not being made for forked children

This commit is contained in:
Snaipe 2015-04-09 22:28:08 +02:00
parent ffefdbb83b
commit 0782f9a89d

View file

@ -223,7 +223,7 @@ int criterion_run_all_tests(void) {
unset_runner_process();
if (res == -1) // if this is the test worker terminating
_Exit(0);
exit(0);
return criterion_options.always_succeed || res;
}