Fixed --no-early-exit behavior being inverted
This commit is contained in:
parent
f075bb111b
commit
99d84d8009
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ struct process *spawn_test_worker(struct criterion_test *test, void (*func)(stru
|
||||||
|
|
||||||
func(test);
|
func(test);
|
||||||
close(fds[1]);
|
close(fds[1]);
|
||||||
if (!criterion_options.no_early_exit)
|
if (criterion_options.no_early_exit)
|
||||||
return NULL;
|
return NULL;
|
||||||
else
|
else
|
||||||
_exit(0);
|
_exit(0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue