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 321726 c69a0c17a17d4948c66a1e3dae73a959836be628
parent 321725 b086ef986f275bb067a511e9dc4890aff2109cf7
child 321727 6dae0685c9d21b30fbe39ebb31254c733fd43900
push id21
push usermaklebus@msu.edu
push dateThu, 01 Dec 2016 06:22:08 +0000
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