test: don't rewind_cursor when using tap_output
This is a back-port of commit 72bbf5d from the master branch.
This commit is contained in:
parent
5d57f42ed3
commit
23b93474b1
@ -64,7 +64,9 @@ int run_tests(int timeout, int benchmark_output) {
|
||||
continue;
|
||||
}
|
||||
|
||||
rewind_cursor();
|
||||
if (!tap_output)
|
||||
rewind_cursor();
|
||||
|
||||
if (!benchmark_output && !tap_output) {
|
||||
log_progress(total, passed, failed, task->task_name);
|
||||
}
|
||||
@ -77,7 +79,8 @@ int run_tests(int timeout, int benchmark_output) {
|
||||
current++;
|
||||
}
|
||||
|
||||
rewind_cursor();
|
||||
if (!tap_output)
|
||||
rewind_cursor();
|
||||
|
||||
if (!benchmark_output && !tap_output) {
|
||||
log_progress(total, passed, failed, "Done.\n");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user