mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1639349 - [ci] Set up a SCHEDULES rule to exclude non-webrender tests on webrender-only pushes, r=gbrown
Depends on D76433 Differential Revision: https://phabricator.services.mozilla.com/D76434
This commit is contained in:
parent
e6fc2d3678
commit
0591e31c1f
@ -47,3 +47,9 @@ SPHINX_TREES['/gfx'] = 'docs'
|
||||
|
||||
with Files('docs/**'):
|
||||
SCHEDULES.exclusive = ['docs']
|
||||
|
||||
with Files('wr/**'):
|
||||
SCHEDULES.exclusive = ['webrender']
|
||||
|
||||
with Files('webrender_bindings/**'):
|
||||
SCHEDULES.exclusive = ['webrender']
|
||||
|
@ -35,14 +35,15 @@ INCLUSIVE_COMPONENTS = sorted(INCLUSIVE_COMPONENTS)
|
||||
# Exclusive components are those which are scheduled by default, but for which
|
||||
# some files *only* affect that component. For example, most files affect all
|
||||
# platforms, but platform-specific files exclusively affect a single platform.
|
||||
# These components are assigned to `SCHEDULES.exclusive` with `=`.
|
||||
# These components are assigned to `SCHEDULES.exclusive` with `=`. Each comment
|
||||
# denotes a new mutually exclusive set of groups that tasks can belong to.
|
||||
EXCLUSIVE_COMPONENTS = [
|
||||
# os families
|
||||
'android',
|
||||
'linux',
|
||||
'macosx',
|
||||
'windows',
|
||||
# test suite categories
|
||||
# broad test harness categories
|
||||
'awsy',
|
||||
'condprofile',
|
||||
'cppunittest',
|
||||
@ -58,15 +59,17 @@ EXCLUSIVE_COMPONENTS = [
|
||||
'xpcshell',
|
||||
'xpcshell-coverage',
|
||||
'web-platform-tests',
|
||||
'web-platform-tests-crashtest',
|
||||
'web-platform-tests-reftest',
|
||||
'web-platform-tests-wdspec',
|
||||
# specific test suites via schedules-component
|
||||
# specific test suites
|
||||
'crashtest',
|
||||
'mochitest-a11y',
|
||||
'mochitest-browser-chrome',
|
||||
'mochitest-chrome',
|
||||
'mochitest-plain',
|
||||
'crashtest',
|
||||
'web-platform-tests-crashtest',
|
||||
'web-platform-tests-reftest',
|
||||
'web-platform-tests-wdspec',
|
||||
# webrender enabled
|
||||
'webrender',
|
||||
]
|
||||
EXCLUSIVE_COMPONENTS = sorted(EXCLUSIVE_COMPONENTS)
|
||||
ALL_COMPONENTS = INCLUSIVE_COMPONENTS + EXCLUSIVE_COMPONENTS
|
||||
|
@ -1592,6 +1592,9 @@ def set_schedules_components(config, tasks):
|
||||
schedules.add(category)
|
||||
schedules.add(platform_family(task['build-platform']))
|
||||
|
||||
if task['webrender']:
|
||||
schedules.add('webrender')
|
||||
|
||||
task['schedules-component'] = sorted(schedules)
|
||||
yield task
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user