mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1622060: Add test transform for gv e10s-multi; r=gbrown
This adds a multi-e10s variant for geckoview-junit tests. With bug 1622944 resolved, the test suite passes, so we allow this variant to be tier-1. Differential Revision: https://phabricator.services.mozilla.com/D66676
This commit is contained in:
parent
e544916dbe
commit
78c73bc94f
@ -5,6 +5,7 @@
|
||||
geckoview-junit:
|
||||
description: "Geckoview junit run"
|
||||
suite: geckoview-junit
|
||||
variants: ["geckoview-e10s-multi"]
|
||||
treeherder-symbol: gv-junit
|
||||
loopback-video: true
|
||||
e10s: true
|
||||
|
@ -147,6 +147,13 @@ def runs_on_central(test):
|
||||
return match_run_on_projects('mozilla-central', test['run-on-projects'])
|
||||
|
||||
|
||||
def gv_e10s_multi_filter(test):
|
||||
return (
|
||||
get_mobile_project(test) == 'geckoview' and
|
||||
test['e10s']
|
||||
)
|
||||
|
||||
|
||||
def fission_filter(test):
|
||||
return (
|
||||
runs_on_central(test) and
|
||||
@ -156,6 +163,18 @@ def fission_filter(test):
|
||||
|
||||
|
||||
TEST_VARIANTS = {
|
||||
'geckoview-e10s-multi': {
|
||||
'description': "{description} with e10s-multi enabled",
|
||||
'filterfn': gv_e10s_multi_filter,
|
||||
'suffix': 'e10s-multi',
|
||||
'merge': {
|
||||
'mozharness': {
|
||||
'extra-options': [
|
||||
'--setpref=dom.ipc.processCount=3',
|
||||
],
|
||||
},
|
||||
},
|
||||
},
|
||||
'fission': {
|
||||
'description': "{description} with fission enabled",
|
||||
'filterfn': fission_filter,
|
||||
|
Loading…
Reference in New Issue
Block a user