This commit is contained in:
Enrico Weigelt 2026-10-20 17:54:34 +00:00 • committed by GitHub
commit 0d5ecfb2c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,7 +27,7 @@ run_test_in_child(const testfunc_t* (*suite)(void), const char *funcname)
if (exit_code != 0) { if (exit_code != 0) {
child_failed: child_failed:
printf(" FAIL\n"); printf(" FAIL\n");
exit(exit_code); exit(EXIT_FAILURE);
} }
} else { } else {
testfunc_t f = *func; testfunc_t f = *func;