Bug 1515599 - Prevent android hardware tests from running when using try option syntax, r=ahal.
authorBob Clary <bclary@bclary.com>
Fri, 21 Dec 2018 06:12:18 -0800
changeset 451707 527fcd973d9fdeb1a6f5e9eed01aaa5ab55640f2
parent 451672 00d55a99831bd9ce0e4e5fc58fb06d27feff6fbc
child 451708 b043f7f99f9761bda81fb981c42840260abd44a2
push id35252
push userccoroiu@mozilla.com
push dateFri, 21 Dec 2018 21:56:22 +0000
treeherdermozilla-central@b23630094b9c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersahal
bugs1515599
milestone66.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 1515599 - Prevent android hardware tests from running when using try option syntax, r=ahal.
taskcluster/taskgraph/try_option_syntax.py
--- a/taskcluster/taskgraph/try_option_syntax.py
+++ b/taskcluster/taskgraph/try_option_syntax.py
@@ -548,16 +548,20 @@ class TryOptionSyntax(object):
             if attr('nightly') and not self.include_nightly:
                 return False
             return set(['try', 'all']) & set(attr('run_on_projects', []))
 
         # Don't schedule code coverage when try option syntax is used
         if 'ccov' in attr('build_platform', []):
             return False
 
+        # Don't schedule android-hw tests when try option syntax is used
+        if 'android-hw' in task.label:
+            return False
+
         def match_test(try_spec, attr_name):
             run_by_default = True
             if attr('build_type') not in self.build_types:
                 return False
             if self.platforms is not None:
                 if attr('build_platform') not in self.platforms:
                     return False
             else: