зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1408403 - fix linting problem. r=me CLOSED TREE
This commit is contained in:
Родитель
5e27db6805
Коммит
20e06de06f
|
@ -667,7 +667,8 @@ def enable_code_coverage(config, tests):
|
||||||
test['when'] = {}
|
test['when'] = {}
|
||||||
test['instance-size'] = 'xlarge'
|
test['instance-size'] = 'xlarge'
|
||||||
# Ensure we don't run on inbound/autoland/beta, but if the test is try only, ignore it
|
# 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':
|
if 'mozilla-central' in test['run-on-projects'] or \
|
||||||
|
test['run-on-projects'] == 'built-projects':
|
||||||
test['run-on-projects'] = ['mozilla-central', 'try']
|
test['run-on-projects'] = ['mozilla-central', 'try']
|
||||||
|
|
||||||
if test['test-name'].startswith('talos'):
|
if test['test-name'].startswith('talos'):
|
||||||
|
@ -684,7 +685,8 @@ def enable_code_coverage(config, tests):
|
||||||
test['mozharness']['extra-options'].append('--tptimeout,15000')
|
test['mozharness']['extra-options'].append('--tptimeout,15000')
|
||||||
elif test['build-platform'] == 'linux64-jsdcov/opt':
|
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
|
# 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':
|
if 'mozilla-central' in test['run-on-projects'] or \
|
||||||
|
test['run-on-projects'] == 'built-projects':
|
||||||
test['run-on-projects'] = ['mozilla-central', 'try']
|
test['run-on-projects'] = ['mozilla-central', 'try']
|
||||||
test['mozharness'].setdefault('extra-options', []).append('--jsd-code-coverage')
|
test['mozharness'].setdefault('extra-options', []).append('--jsd-code-coverage')
|
||||||
yield test
|
yield test
|
||||||
|
|
Загрузка…
Ссылка в новой задаче