コード例 #1
0
ファイル: steps.py プロジェクト: jackiekaon/owb-mirror
    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]
コード例 #2
0
ファイル: steps.py プロジェクト: 325116067/semc-qsd8x50
    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
コード例 #3
0
ファイル: steps.py プロジェクト: acss/owb-mirror
 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
コード例 #4
0
ファイル: steps.py プロジェクト: jackiekaon/owb-mirror
 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
コード例 #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
コード例 #6
0
ファイル: steps.py プロジェクト: dev89/symbiandump-mw4
    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
コード例 #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
コード例 #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
        ]
コード例 #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)
コード例 #10
0
ファイル: steps.py プロジェクト: jackiekaon/owb-mirror
 def __init__(self, *args, **kwargs):
     UploadCommand.__init__(self, *args, **kwargs)
     self.command = self.command + ['--upload-results', self.getRemotePath()]
     Test.__init__(self, *args, **kwargs)