diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-12-25 21:05:43 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-12-25 21:05:43 +0200 |
commit | 9e36a5a492f135771dc9a2132177dbfd7b92a928 (patch) | |
tree | 737cb6ea77ed62945414dce865fec9685c01f902 | |
parent | e4fd57b5fcdb147ad08f96889ac6eea06b3ac609 (diff) | |
download | cmdtest-9e36a5a492f135771dc9a2132177dbfd7b92a928.tar.gz |
Make --timintgs output be on multiple lines
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | yarn | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -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 ---------------------------------- @@ -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() |