Bug 1315690 - Limit cedar TC tests to Linux64 mochitest* and xpcshell only (fix lint errors) u=aselagea r=dustin
authorKim Moir <kmoir@mozilla.com>
Tue, 08 Nov 2016 09:36:19 -0500
changeset 351743 c69a0c17a17d4948c66a1e3dae73a959836be628
parent 351742 b086ef986f275bb067a511e9dc4890aff2109cf7
child 351744 6dae0685c9d21b30fbe39ebb31254c733fd43900
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1315690
milestone52.0a1
Bug 1315690 - Limit cedar TC tests to Linux64 mochitest* and xpcshell only (fix lint errors) u=aselagea r=dustin
taskcluster/taskgraph/target_tasks.py
--- a/taskcluster/taskgraph/target_tasks.py
+++ b/taskcluster/taskgraph/target_tasks.py
@@ -113,20 +113,21 @@ def target_tasks_ash(full_task_graph, pa
 
 
 @_target_task('cedar_tasks')
 def target_tasks_cedar(full_task_graph, parameters):
     """Target tasks that only run on the cedar branch."""
     def filter(task):
         platform = task.attributes.get('build_platform')
         # only select platforms
-        if platform not in ['linux64'] :
+        if platform not in ['linux64']:
             return False
         if task.attributes.get('unittest_suite'):
-            if not (task.attributes['unittest_suite'].startswith('mochitest') or 'xpcshell' in task.attributes['unittest_suite']):
+            if not (task.attributes['unittest_suite'].startswith('mochitest')
+                    or 'xpcshell' in task.attributes['unittest_suite']):
                 return False
         return True
     return [l for l, t in full_task_graph.tasks.iteritems() if filter(t)]
 
 
 @_target_task('nightly_fennec')
 def target_tasks_nightly(full_task_graph, parameters):
     """Select the set of tasks required for a nightly build of fennec. The