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:
Aaron Klotz 2020-04-28 15:06:42 +00:00
parent e544916dbe
commit 78c73bc94f
2 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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,