Bug 1550866 - Support try syntax '-p foo,bar,bob -u all[all]' to run Tier 2 tests on all platforms specified r=catlee
authorTom Ritter <tom@mozilla.com>
Tue, 14 May 2019 19:53:44 +0000
changeset 532646 e3640e306c198fecaeb1725ad9810d0d062c82e1
parent 532645 0d0a4250902b027df34308763f167bc84f3be8d9
child 532647 bfa4ce8a0ef6b464e349f252b1f8e46cbf9bba11
push id11270
push userrgurzau@mozilla.com
push dateWed, 15 May 2019 15:07:19 +0000
treeherdermozilla-beta@571bc76da583 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscatlee
bugs1550866
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1550866 - Support try syntax '-p foo,bar,bob -u all[all]' to run Tier 2 tests on all platforms specified r=catlee Differential Revision: https://phabricator.services.mozilla.com/D30720
taskcluster/taskgraph/try_option_syntax.py
--- a/taskcluster/taskgraph/try_option_syntax.py
+++ b/taskcluster/taskgraph/try_option_syntax.py
@@ -597,16 +597,18 @@ class TryOptionSyntax(object):
                 if attr(attr_name) == test['test']:
                     break
             else:
                 return False
             if 'only_chunks' in test and attr('test_chunk') not in test['only_chunks']:
                 return False
             tier = task.task['extra']['treeherder']['tier']
             if 'platforms' in test:
+                if 'all' in test['platforms']:
+                    return True
                 platform = attr('test_platform', '').split('/')[0]
                 # Platforms can be forced by syntax like "-u xpcshell[Windows 8]"
                 return platform in test['platforms']
             elif tier != 1:
                 # Require tier 2/3 tests to be specifically enabled if there
                 # are other platforms that run this test suite as tier 1
                 name = attr('unittest_try_name')
                 test_tiers = self.test_tiers.get(name)