Skip to content

Instantly share code, notes, and snippets.

@tjfontaine
Created February 25, 2013 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tjfontaine/5031570 to your computer and use it in GitHub Desktop.
Save tjfontaine/5031570 to your computer and use it in GitHub Desktop.
diff --git a/test/runner.c b/test/runner.c
index 1b9a980..6e4b4f6 100644
--- a/test/runner.c
+++ b/test/runner.c
@@ -102,7 +102,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);
}
@@ -115,7 +117,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");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment