зеркало из https://github.com/mozilla/gecko-dev.git
Bug 990797 - TPS CI errors out when trying to e-mail results. r=jgriffin DONTBUILD
--HG-- extra : rebase_source : bae20ab39a994bb6116add086e8f8c6735e8808e
This commit is contained in:
Родитель
7315b6fab6
Коммит
14117d9d80
|
@ -103,8 +103,8 @@ class TPSTestRunner(object):
|
|||
r'Sync version: (?P<syncversion>.*)\n')
|
||||
ffVerRe = re.compile(
|
||||
r'Firefox version: (?P<ffver>.*)\n')
|
||||
ffDateRe = re.compile(
|
||||
r'Firefox builddate: (?P<ffdate>.*)\n')
|
||||
ffBuildIDRe = re.compile(
|
||||
r'Firefox buildid: (?P<ffbuildid>.*)\n')
|
||||
|
||||
def __init__(self, extensionDir,
|
||||
binary=None,
|
||||
|
@ -277,8 +277,8 @@ class TPSTestRunner(object):
|
|||
sync_version = match.group('syncversion') if match else 'unknown'
|
||||
match = self.ffVerRe.search(logdata)
|
||||
firefox_version = match.group('ffver') if match else 'unknown'
|
||||
match = self.ffDateRe.search(logdata)
|
||||
firefox_builddate = match.group('ffdate') if match else 'unknown'
|
||||
match = self.ffBuildIDRe.search(logdata)
|
||||
firefox_buildid = match.group('ffbuildid') if match else 'unknown'
|
||||
f.close()
|
||||
if phase.status == 'PASS':
|
||||
logdata = ''
|
||||
|
@ -309,8 +309,8 @@ class TPSTestRunner(object):
|
|||
self.errorlogs[testname] = tmplogfile
|
||||
|
||||
resultdata = ({ 'productversion': { 'version': firefox_version,
|
||||
'buildid': firefox_builddate,
|
||||
'builddate': firefox_builddate[0:8],
|
||||
'buildid': firefox_buildid,
|
||||
'builddate': firefox_buildid[0:8],
|
||||
'product': 'Firefox',
|
||||
'repository': apprepo,
|
||||
'changeset': appchangeset,
|
||||
|
|
Загрузка…
Ссылка в новой задаче