Bug 1904671 - Add wpt and wdspec jobs with async event dispatching enabled r=whimboo,taskgraph-reviewers,jmaher

Differential Revision: https://phabricator.services.mozilla.com/D218258
This commit is contained in:
Julian Descottes 2024-10-01 11:36:09 +00:00
parent 39e8e3e980
commit 8e3c8381ed
4 changed files with 30 additions and 1 deletions

View File

@ -165,6 +165,10 @@ treeherder:
'W-pb': 'Web platform tests with private browsing enabled'
'W-emewmf': 'Web platform tests with Windows Media Foundation based CDM enabled'
'W-emewmf-cf': 'Web platform tests confirm failure with Windows Media Foundation based CDM enabled'
'W-async': 'Web platform tests with parent process dispatching enabled'
'W-async-cf': 'Web platform tests with parent process dispatching enabled'
'W-wd-async': 'Web platform tests for WebDriver with parent process dispatching enabled'
'W-wd-async-cf': 'Web platform tests for WebDriver with parent process dispatching enabled'
'X': 'Xpcshell tests'
'X-cf': 'Xpcshell tests confirm failure'
'X-condprof': 'Xpcshell tests with a conditioned profile'

View File

@ -493,3 +493,16 @@ os-integration:
worker:
env:
MOZHARNESS_TEST_TAG: ["os_integration"]
async-event-dispatching:
description: "{description} with async parent process event dispatching"
component: "Remote Protocol::Agent"
expiration: "2025-04-01"
suffix: "async"
mozinfo: "remote_async"
replace:
tier: 3
merge:
mozharness:
extra-options:
- "--setpref=remote.events.async.enabled=true"

View File

@ -70,6 +70,7 @@ web-platform-tests:
variants:
- no-fission
- geckoview-no-fission-ship
- async-event-dispatching
run-on-projects:
by-variant:
geckoview-no-fission-ship:
@ -83,6 +84,10 @@ web-platform-tests:
linux1804-64-qr/debug: ['mozilla-central']
linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
default: []
async-event-dispatching:
by-test-platform:
.*/debug: []
default: []
default:
by-test-platform:
android.*: []
@ -537,6 +542,7 @@ web-platform-tests-wdspec:
variants:
- no-fission
- headless
- async-event-dispatching
run-on-projects:
by-variant:
headless:
@ -550,6 +556,12 @@ web-platform-tests-wdspec:
linux1804-64(-shippable|-asan)?-qr/opt: ['mozilla-central']
android.*: built-projects
default: []
async-event-dispatching:
by-test-platform:
.*wayland.*: []
.*-32.*/.*: []
.*/debug: built-projects
default: []
default:
by-test-platform:
.*wayland.*: []

View File

@ -131,7 +131,7 @@ def test_query_tags(run_mach, capfd, tag):
"--tag",
tag,
"-q",
"^test-linux '64-qr/debug- !http !spi !swr !nofis !headless !xorig",
"^test-linux '64-qr/debug- !http !spi !swr !nofis !headless !xorig !async",
]
if tag == "not_a_valid_tag":
assert run_mach(cmd) == 1