test: make test runner return non-zero in case of failure

This commit is contained in:
Maciej Małecki 2011-12-10 00:24:08 +01:00 committed by Ben Noordhuis
parent b89c31b936
commit b06da4cbab

View File

@ -71,7 +71,7 @@ int run_tests(int timeout, int benchmark_output) {
log_progress(total, passed, failed, "Done.\n");
}
return 0;
return failed;
}