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

This commit is contained in:
Marco Castelluccio
2018-02-20 12:20:19 +01:00
parent 77d2690173
commit 03e43a5a48

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']: