Bug 1347698 - Add a tag for taskcluster reftest jobs r=dustin

MozReview-Commit-ID: JvBywJUgmkh

--HG--
extra : rebase_source : cce78a737e8a4f6e50d82bab424b3e6c8a108cab
This commit is contained in:
William Lachance 2017-03-15 17:52:11 -04:00
Родитель b58db2c9cb
Коммит 8989c781c9
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -600,10 +600,11 @@ def remove_linux_pgo_try_talos(config, tests):
@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