Don't output progress in 'make bench'

Fixes #115.
This commit is contained in:
Ryan Dahl 2011-07-20 11:43:55 -07:00
parent 1fda135ff2
commit abf854597b

View File

@ -54,7 +54,9 @@ int run_tests(int timeout, int benchmark_output) {
}
rewind_cursor();
if (!benchmark_output) {
log_progress(total, passed, failed, task->task_name);
}
if (run_test(task->task_name, timeout, benchmark_output) == 0) {
passed++;
@ -64,7 +66,10 @@ int run_tests(int timeout, int benchmark_output) {
}
rewind_cursor();
if (!benchmark_output) {
log_progress(total, passed, failed, "Done.\n");
}
return 0;
}