mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1434729 - Never optimize test suites for coverage builds. r=jmaher
--HG-- extra : rebase_source : 0c2080cb2856c331fe6b3f2106e71be05777afda
This commit is contained in:
parent
32fddd2e38
commit
ffd695dcbf
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user