Bug 1383257 - When PGO runs tests via BBB they end up mixed in with the opt variant BBB tests. r=catlee
for: Land changes to flip windows nightlies on, and to tier 1 on central
MozReview-Commit-ID: 8JmEtOmPtGO
--- a/taskcluster/taskgraph/transforms/job/mozharness_test.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness_test.py
@@ -482,16 +482,21 @@ def mozharness_test_buildbot_bridge(conf
variant=variant,
branch=branch,
test_name=test_name
)
if buildername.startswith('Ubuntu'):
buildername = buildername.replace('VM', 'HW')
else:
+ variant = get_variant(test['test-platform'])
+ # If we are a pgo type, munge the build_type for the
+ # Unittest builder name generation
+ if 'pgo' in variant:
+ build_type = variant
buildername = '{} {} {} test {}'.format(
BUILDER_NAME_PREFIX[test_platform],
branch,
build_type,
test_name
)
worker.update({