Bug 1347698 - Add a tag for taskcluster reftest jobs r?dustin
MozReview-Commit-ID: JvBywJUgmkh
--- a/taskcluster/taskgraph/transforms/tests.py
+++ b/taskcluster/taskgraph/transforms/tests.py
@@ -595,20 +595,21 @@ def remove_linux_pgo_try_talos(config, t
and test['suite'] == 'talos'
and config.params['project'] == 'try'
)
for test in filter(predicate, tests):
yield test
@transforms.add
-def set_mochitest_test_type(config, tests):
+def set_test_type(config, tests):
for test in tests:
- if 'mochitest' in test['suite']:
- test.setdefault('tags', {})['test-type'] = 'mochitest'
+ for test_type in ['mochitest', 'reftest']:
+ if test_type in test['suite'] and 'web-platform' not in test['suite']:
+ test.setdefault('tags', {})['test-type'] = test_type
yield test
@transforms.add
def make_job_description(config, tests):
"""Convert *test* descriptions to *job* descriptions (input to
taskgraph.transforms.job)"""