tester: return 1 if at least one test has failed
This commit is contained in:
parent
ec5f4f6543
commit
40e471f1a2
|
@ -236,4 +236,6 @@ int main(int argc, char **argv)
|
||||||
|
|
||||||
printf("\nSummary: %d passed, %d failed\n", success_tests_counter, failed_tests_counter);
|
printf("\nSummary: %d passed, %d failed\n", success_tests_counter, failed_tests_counter);
|
||||||
close(f);
|
close(f);
|
||||||
|
|
||||||
|
return !(!failed_tests_counter);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue