Example #1
0
    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]
Example #2
0
    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
Example #3
0
 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
Example #4
0
 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
Example #5
0
    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
Example #6
0
    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
Example #7
0
    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
Example #8
0
    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
        ]
Example #9
0
 def __init__(self, *args, **kwargs):
     UploadCommand.__init__(self, *args, **kwargs)
     self.command = self.command + [
         '--upload-results', self.getRemotePath()
     ]
     Test.__init__(self, *args, **kwargs)
Example #10
0
 def __init__(self, *args, **kwargs):
     UploadCommand.__init__(self, *args, **kwargs)
     self.command = self.command + ['--upload-results', self.getRemotePath()]
     Test.__init__(self, *args, **kwargs)