Bug 1531499 - additional workaround for Windows 32bit incorrectly reporting failure for reftest r=jmaher,ahal

Changes:
- modified the criteria for using 1 as the successful return code by using a combination of factors; is it Windows, is it 32bit, and is it Reftest.

Differential Revision: https://phabricator.services.mozilla.com/D21596

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Edwin Gao 2019-03-01 13:58:52 +00:00
Родитель dde7723c68
Коммит 48bb1c21f8
1 изменённых файлов: 5 добавлений и 3 удалений

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

@ -932,9 +932,11 @@ class DesktopUnittest(TestingMixin, MercurialScript, MozbaseMixin,
# 3) checking to see if the return code is in success_codes
success_codes = None
if suite_category == 'reftest' and platform.platform().startswith('Windows-7'):
# bug 1120644
success_codes = [0, 1]
if (suite_category == 'reftest'
and '32bit' in platform.architecture()
and platform.system() == "Windows"):
# see bug 1120644, 1526777, 1531499
success_codes = [1]
tbpl_status, log_level, summary = parser.evaluate_parser(return_code,
success_codes,