Backed out changeset 2de04e1a46bd (bug 1431872) on request from marco for running ccov builds also on autoland and inbound. a=backout

This commit is contained in:
Narcis Beleuzu 2018-02-16 14:29:18 +02:00
parent 09da568225
commit cac28623a1
3 changed files with 11 additions and 3 deletions

View File

@ -725,7 +725,7 @@ linux64-jsdcov/opt:
platform: linux64-jsdcov/opt
symbol: B
tier: 2
run-on-projects: ['mozilla-central', 'try']
run-on-projects: []
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
max-run-time: 36000
@ -754,7 +754,7 @@ linux64-ccov/opt:
platform: linux64-ccov/opt
symbol: B
tier: 2
run-on-projects: ['mozilla-central', 'try']
run-on-projects: []
worker-type: aws-provisioner-v1/gecko-{level}-b-linux
worker:
max-run-time: 36000

View File

@ -499,7 +499,7 @@ win64-ccov/debug:
- builds/taskcluster_base_windows.py
- builds/taskcluster_base_win64.py
- builds/taskcluster_sub_win64/ccov_debug.py
run-on-projects: ['mozilla-central', 'try']
run-on-projects: []
toolchains:
- win64-clang-cl
- win64-rust

View File

@ -711,6 +711,10 @@ def enable_code_coverage(config, tests):
if 'ccov' in test['build-platform'] and not test['test-name'].startswith('test-verify'):
test['mozharness'].setdefault('extra-options', []).append('--code-coverage')
test['instance-size'] = 'xlarge'
# Ensure we don't run on inbound/autoland/beta, but if the test is try only, ignore it
if 'mozilla-central' in test['run-on-projects'] or \
test['run-on-projects'] == 'built-projects':
test['run-on-projects'] = ['mozilla-central', 'try']
if 'talos' in test['test-name']:
test['max-run-time'] = 7200
@ -725,6 +729,10 @@ def enable_code_coverage(config, tests):
test['mozharness']['extra-options'].append('--add-option')
test['mozharness']['extra-options'].append('--tptimeout,15000')
elif test['build-platform'] == 'linux64-jsdcov/opt':
# Ensure we don't run on inbound/autoland/beta, but if the test is try only, ignore it
if 'mozilla-central' in test['run-on-projects'] or \
test['run-on-projects'] == 'built-projects':
test['run-on-projects'] = ['mozilla-central', 'try']
test['mozharness'].setdefault('extra-options', []).append('--jsd-code-coverage')
yield test