mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 787116 - Use self.stream to write Marionette log lines, r=jgriffin, DONTBUILD because NPOTB
This commit is contained in:
parent
e07607b6f2
commit
a84b8c80c8
@ -65,10 +65,10 @@ class MarionetteTestResult(unittest._TextTestResult):
|
||||
def printLogs(self, test):
|
||||
for testcase in test._tests:
|
||||
if hasattr(testcase, 'loglines') and testcase.loglines:
|
||||
print 'START LOG:'
|
||||
self.stream.writeln('START LOG:')
|
||||
for line in testcase.loglines:
|
||||
print ' '.join(line)
|
||||
print 'END LOG:'
|
||||
self.stream.writeln(' '.join(line))
|
||||
self.stream.writeln('END LOG:')
|
||||
|
||||
def getPerfData(self, test):
|
||||
for testcase in test._tests:
|
||||
|
Loading…
Reference in New Issue
Block a user