From 85ec7111bf45aa0a9b8203e39356fb0b9c65156b Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 30 Jun 2015 17:26:53 +0300 Subject: Flush ttystatus output when starting scenario, step --- yarn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'yarn') diff --git a/yarn b/yarn index 9615e5b..faa99f6 100755 --- a/yarn +++ b/yarn @@ -291,12 +291,14 @@ class YarnRunner(cliapp.Application): self.info(0, 'Running scenario %s' % scenario.name) self.ts['scenario_name'] = scenario.name + self.ts.flush() self.scenarios_run += 1 if self.settings['no-act']: self.info(0, 'Pretending everything went OK') for step in scenario.steps: self.ts['current_step'] = step + self.ts.flush() self.remember_scenario_timing(time.time() - started) return True @@ -404,6 +406,7 @@ class YarnRunner(cliapp.Application): self.info(1, 'Running step "%s %s"' % (step.what, step.text)) self.ts['current_step'] = step self.ts['step_name'] = '%s %s' % (step.what, step.text) + self.ts.flush() self.steps_run += 1 m = self.implements_matches_step(step.implementation, step) -- cgit v1.2.1