Skip to content

Commit f4d99cc

Browse files
committed
Bug 1982404: split mochitests into their own kind r=taskgraph-reviewers,ahal
This patch moves mochitests out of the `test` kind and into their own kind. Aside from changing the `kind` and `source` metadata in tasks, it has no effect on task definitions. On its own, this has no advantages. After we pick up [multiprocess kind evaluation](taskcluster/taskgraph#738) from upstream taskgraph this will make a notable improvement to `./mach taskgraph` runtime. Differential Revision: https://phabricator.services.mozilla.com/D260707 UltraBlame original commit: 664d33826bb46965770be6166ade11b6e4c43d94
1 parent 90073b3 commit f4d99cc

File tree

5 files changed

+1446
-1353
lines changed

5 files changed

+1446
-1353
lines changed

taskcluster/docs/kinds.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,17 @@ spidermonkey
182182
Spidermonkey tasks check out the full gecko source tree, then compile only the
183183
spidermonkey portion. Each task runs specific tests after the build.
184184

185+
mochitest
186+
---------
187+
188+
See the :doc:`test kind documentation <kinds/test>` for more info.
189+
190+
.. toctree::
191+
:hidden:
192+
193+
kinds/test
194+
195+
185196
test
186197
----
187198

taskcluster/gecko_taskgraph/loader/test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ def get_test_platforms(
119119
return test_platforms
120120

121121

122-
PREFIX_BY_KIND = {}
122+
PREFIX_BY_KIND = {
123+
"mochitest": {"mochitest"},
124+
}
123125

124126

125127
@memoize

0 commit comments

Comments
 (0)