tester: return 1 if at least one test has failed

This commit is contained in:
ІО-23 Шмуляр Олег 2024-12-12 20:04:06 +02:00
parent ec5f4f6543
commit 40e471f1a2
1 changed files with 2 additions and 0 deletions

View File

@ -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);
} }