Bug 1400979 - Follow-up: Skip test-verify on linux64-ccov; r=gmierz a=merge

The previous patch was ineffective, because the noted transform over-wrote
the yml configuration.

MozReview-Commit-ID: ICENT0DGzxy
This commit is contained in:
Geoff Brown
2017-09-20 18:13:59 -06:00
parent d381fed4a5
commit 60c88bed97
2 changed files with 4 additions and 2 deletions

View File

@@ -624,7 +624,8 @@ def handle_keyed_by(config, tests):
def enable_code_coverage(config, tests):
"""Enable code coverage for the linux64-ccov/opt & linux64-jsdcov/opt build-platforms"""
for test in tests:
if test['build-platform'] == 'linux64-ccov/opt':
if test['build-platform'] == 'linux64-ccov/opt' and \
not test['test-name'].startswith('test-verify'):
test['mozharness'].setdefault('extra-options', []).append('--code-coverage')
test['when'] = {}
test['instance-size'] = 'xlarge'