Bug 1434729 - Never optimize test suites for coverage builds. r=jmaher

--HG--
extra : rebase_source : 0c2080cb2856c331fe6b3f2106e71be05777afda
This commit is contained in:
Marco Castelluccio 2018-02-20 12:20:19 +01:00
parent 32fddd2e38
commit ffd695dcbf

View File

@ -720,6 +720,12 @@ def enable_code_coverage(config, tests):
test['run-on-projects'] == 'built-projects':
test['run-on-projects'] = ['mozilla-central', 'try']
# Ensure we don't optimize test suites out.
# We always want to run all test suites for coverage purposes.
test.pop('schedules-component', None)
test.pop('when', None)
test['optimization'] = None
if 'talos' in test['test-name']:
test['max-run-time'] = 7200
if 'linux' in test['build-platform']: