зеркало из https://github.com/mozilla/pjs.git
Bug 422739 - talos errors need to be correctly reported to the waterfall
p=anodelman r=rcampbell
This commit is contained in:
Родитель
b286bac250
Коммит
0c47d4bff9
|
@ -277,6 +277,8 @@ class MozillaRunPerfTests(ShellCommand):
|
|||
for line in log.readlines():
|
||||
if "RETURN:" in line:
|
||||
summary.append(line.replace("RETURN:", "TinderboxPrint:"))
|
||||
if "FAIL:" in line:
|
||||
summary.append(line.replace("FAIL:", "TinderboxPrint:FAIL:"))
|
||||
self.addCompleteLog('summary', "\n".join(summary))
|
||||
|
||||
def start(self):
|
||||
|
@ -294,6 +296,8 @@ class MozillaRunPerfTests(ShellCommand):
|
|||
return FAILURE
|
||||
if None != re.search('USAGE:', stdioText):
|
||||
return FAILURE
|
||||
if None != re.search('FAIL:', stdioText):
|
||||
return WARNING
|
||||
return SUCCESS
|
||||
|
||||
class MozillaInstallTarBz2(ShellCommand):
|
||||
|
|
Загрузка…
Ссылка в новой задаче