Bug 422739 - talos errors need to be correctly reported to the waterfall

p=anodelman r=rcampbell
This commit is contained in:
anodelman%mozilla.com 2008-04-10 23:51:33 +00:00
Родитель b286bac250
Коммит 0c47d4bff9
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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):