Add progress output for verbose mode with xdist

This commit is contained in:
Bruno Oliveira 2017-11-21 20:42:15 -02:00
parent 8b92527d7d
commit 3441084bd2
1 changed files with 2 additions and 2 deletions

View File

@ -299,8 +299,8 @@ class TerminalReporter:
self.write_ensure_prefix(line, word, **markup) self.write_ensure_prefix(line, word, **markup)
else: else:
self.ensure_newline() self.ensure_newline()
if running_xdist: self.writer.write("[%s]" % rep.node.gateway.id)
self.writer.write("[%s] " % rep.node.gateway.id) self.writer.write(self._get_progress_information_message() + " ", cyan=True)
self.writer.write(word, **markup) self.writer.write(word, **markup)
self.writer.write(" " + line) self.writer.write(" " + line)
self.currentfspath = -2 self.currentfspath = -2