Created
February 25, 2013 17:34
-
-
Save tjfontaine/5031570 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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