зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1555792: Ensure that the new default values for nightly have no effect on CI. r=ahal
Depends on D33643 Differential Revision: https://phabricator.services.mozilla.com/D33644 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
5498779c1d
Коммит
751d83106b
|
@ -198,8 +198,8 @@ TEST_VARIANTS = {
|
|||
'merge': {
|
||||
'mozharness': {
|
||||
'extra-options': [
|
||||
'--setpref="media.peerconnection.mtransport_process=true"',
|
||||
'--setpref="network.process.enabled=true"',
|
||||
'--setpref=media.peerconnection.mtransport_process=true',
|
||||
'--setpref=network.process.enabled=true',
|
||||
],
|
||||
}
|
||||
}
|
||||
|
@ -1037,6 +1037,24 @@ def split_variants(config, tests):
|
|||
yield merge(testv, variant.get('merge', {}))
|
||||
|
||||
|
||||
@transforms.add
|
||||
def ensure_spi_disabled_on_all_but_spi(config, tests):
|
||||
for test in tests:
|
||||
variant = test['attributes'].get('unittest_variant', '')
|
||||
has_setpref = ('gtest' not in test['suite'] and
|
||||
'cppunit' not in test['suite'] and
|
||||
'jittest' not in test['suite'] and
|
||||
'junit' not in test['suite'])
|
||||
|
||||
if has_setpref and variant != 'socketprocess':
|
||||
test['mozharness']['extra-options'].append(
|
||||
'--setpref=media.peerconnection.mtransport_process=false')
|
||||
test['mozharness']['extra-options'].append(
|
||||
'--setpref=network.process.enabled=false')
|
||||
|
||||
yield test
|
||||
|
||||
|
||||
@transforms.add
|
||||
def split_e10s(config, tests):
|
||||
for test in tests:
|
||||
|
|
Загрузка…
Ссылка в новой задаче