summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xyarn4
2 files changed, 4 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 2e4d27c..cfc4e2c 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@ This file summarizes changes between releases of cmdtest.
Version 0.27+git, not yet released
----------------------------------
+* Output from `--timings` is now properly formatted, rather than it
+ all being on one line. Daniel Silverstone reported the bug.
Version 0.27, released 2016-09-21
----------------------------------
diff --git a/yarn b/yarn
index 8d2bef3..3d4865e 100755
--- a/yarn
+++ b/yarn
@@ -587,9 +587,9 @@ class YarnRunner(cliapp.Application):
def report_timings(self):
for scenario_name, scenario_duration, step_tuples in self.timings:
- self.stdout('%5.1f %s' % (scenario_duration, scenario_name))
+ self.stdout('%5.1f %s\n' % (scenario_duration, scenario_name))
for step_name, step_duration in step_tuples:
- self.stdout(' %5.1f %s' % (step_duration, step_name))
+ self.stdout(' %5.1f %s\n' % (step_duration, step_name))
YarnRunner(version=yarnlib.__version__).run()