Bug 1644395 - Add wpt print reftests to TC config, r=ahal

Differential Revision: https://phabricator.services.mozilla.com/D79082
This commit is contained in:
James Graham 2020-06-23 10:00:28 +00:00
parent e41402f389
commit 2ade9fa1fd
8 changed files with 25 additions and 0 deletions

View File

@ -66,6 +66,7 @@ EXCLUSIVE_COMPONENTS = [
'mochitest-chrome',
'mochitest-plain',
'web-platform-tests-crashtest',
'web-platform-tests-print-reftest',
'web-platform-tests-reftest',
'web-platform-tests-wdspec',
# webrender enabled

View File

@ -18,6 +18,7 @@
web-platform-tests:
- web-platform-tests
- web-platform-tests-crashtest
- web-platform-tests-print-reftest
- web-platform-tests-reftest
- web-platform-tests-wdspec
@ -458,6 +459,7 @@ android-x86_64-tests:
- web-platform-tests
- web-platform-tests-backlog
- web-platform-tests-crashtest
- web-platform-tests-print-reftest
- web-platform-tests-reftest
- web-platform-tests-reftest-backlog
- xpcshell

View File

@ -287,6 +287,17 @@ web-platform-tests-crashtest:
.*-qr/.*: 2 # can't be tier-1 if it's not running on integration branches
default: default
web-platform-tests-print-reftest:
description: "Web platform print-reftest run"
schedules-component: web-platform-tests-print-reftest
treeherder-symbol: W(Wp)
chunks: 1
tier: 2
run-on-projects: built-projects
mozharness:
extra-options:
- --test-type=print-reftest
test-verify-wpt:
description: "Extra verification of web-platform tests modified on this push"
suite:

View File

@ -264,6 +264,7 @@ CHUNK_SUITES_BLACKLIST = (
'test-verify-wpt',
'web-platform-tests-backlog',
'web-platform-tests-crashtest',
'web-platform-tests-print-reftest',
'web-platform-tests-reftest-backlog',
'web-platform-tests-wdspec',
)

View File

@ -99,6 +99,7 @@ UNITTEST_ALIASES = {
'web-platform-tests': alias_prefix('web-platform-tests'),
'web-platform-tests-e10s': alias_prefix('web-platform-tests-e10s'),
'web-platform-tests-crashtests': alias_prefix('web-platform-tests-crashtest'),
'web-platform-tests-print-reftest': alias_prefix('web-platform-tests-print-reftest'),
'web-platform-tests-reftests': alias_prefix('web-platform-tests-reftest'),
'web-platform-tests-reftests-e10s': alias_prefix('web-platform-tests-reftest-e10s'),
'web-platform-tests-wdspec': alias_prefix('web-platform-tests-wdspec'),

View File

@ -225,6 +225,13 @@ TEST_SUITES = {
'task_regex': ['web-platform-tests-crashtest($|.*(-1|[^0-9])$)',
'test-verify-wpt'],
},
'web-platform-tests-print-reftest': {
'aliases': ('wpt',),
'mach_command': 'web-platform-tests',
'kwargs': {'include': []},
'task_regex': ['web-platform-tests-print-reftest($|.*(-1|[^0-9])$)',
'test-verify-wpt'],
},
'web-platform-tests-reftest': {
'aliases': ('wpt',),
'mach_command': 'web-platform-tests',

View File

@ -329,6 +329,7 @@ class WebPlatformTest(TestingMixin, MercurialScript, CodeCoverageMixin, AndroidM
test_type_suite = {
"testharness": "web-platform-tests",
"crashtest": "web-platform-tests-crashtest",
"print-reftest": "web-platform-tests-print-reftest",
"reftest": "web-platform-tests-reftest",
"wdspec": "web-platform-tests-wdspec",
}

View File

@ -732,6 +732,7 @@ class TestInfoReport(TestInfo):
{"not": {"regex": {"result.test": "[a-g].*"}}}]),
"web-platform-tests-wdspec": (self.path_mod_wpt, [None]),
"web-platform-tests-crashtest": (self.path_mod_wpt, [None]),
"web-platform-tests-print-reftest": (self.path_mod_wpt, [None]),
"xpcshell": (self.path_mod_xpcshell, [None]),
"mochitest-plain": (None, [None]),
"mochitest-browser-chrome": (None, [None]),