def commandComplete(self, cmd): Test.commandComplete(self, cmd) logText = cmd.logs['stdio'].getText() self.totalLeakLines = [line for line in logText.splitlines() if line.find('total leaks found!') >= 0] self.totalLeakLines += [line for line in logText.splitlines() if line.find('LEAK: ') >= 0] self.totalLeakLines = [' '.join(x.split()[1:]) for x in self.totalLeakLines]
def commandComplete(self, cmd): Test.commandComplete(self, cmd) logText = cmd.logs['stdio'].getText() statusLines = [line for line in logText.splitlines() if line.find('regression') >= 0 and line.find(' found.') >= 0] if statusLines and statusLines[0].split()[0] != '0': self.regressionLine = statusLines[0] else: self.regressionLine = None
def commandComplete(self, cmd): Test.commandComplete(self, cmd) logText = cmd.logs['stdio'].getText() incorrectLayoutLines = [line for line in logText.splitlines() if line.find('had incorrect layout') >= 0 or (line.find('test case') >= 0 and line.find(' crashed') >= 0)] if incorrectLayoutLines: self.incorrectLayoutLines = incorrectLayoutLines else: self.incorrectLayoutLines = None
def commandComplete(self, cmd): Test.commandComplete(self, cmd) logText = cmd.logs['stdio'].getText() incorrectLayoutLines = [line for line in logText.splitlines() if line.find('had incorrect layout') >= 0] if incorrectLayoutLines: self.incorrectLayoutLine = incorrectLayoutLines[0] else: self.incorrectLayoutLine = None
def commandComplete(self, cmd): Test.commandComplete(self, cmd) logText = cmd.logs['stdio'].getText() incorrectLayoutLines = [ line for line in logText.splitlines() if line.find('had incorrect layout') >= 0 or ( line.find('test case') >= 0 and (line.find(' crashed') >= 0 or line.find(' timed out') >= 0)) ] self.incorrectLayoutLines = incorrectLayoutLines
def commandComplete(self, cmd): Test.commandComplete(self, cmd) logText = cmd.logs['stdio'].getText() statusLines = [ line for line in logText.splitlines() if line.find('regression') >= 0 and line.find(' found.') >= 0 ] if statusLines and statusLines[0].split()[0] != '0': self.regressionLine = statusLines[0] else: self.regressionLine = None
def commandComplete(self, cmd): Test.commandComplete(self, cmd) logText = cmd.logs['stdio'].getText() incorrectLayoutLines = [ line for line in logText.splitlines() if line.find('had incorrect layout') >= 0 ] if incorrectLayoutLines: self.incorrectLayoutLine = incorrectLayoutLines[0] else: self.incorrectLayoutLine = None
def commandComplete(self, cmd): Test.commandComplete(self, cmd) logText = cmd.logs['stdio'].getText() self.totalLeakLines = [ line for line in logText.splitlines() if line.find('total leaks found!') >= 0 ] self.totalLeakLines += [ line for line in logText.splitlines() if line.find('LEAK: ') >= 0 ] self.totalLeakLines = [ ' '.join(x.split()[1:]) for x in self.totalLeakLines ]
def __init__(self, *args, **kwargs): UploadCommand.__init__(self, *args, **kwargs) self.command = self.command + [ '--upload-results', self.getRemotePath() ] Test.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): UploadCommand.__init__(self, *args, **kwargs) self.command = self.command + ['--upload-results', self.getRemotePath()] Test.__init__(self, *args, **kwargs)