mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
Bug 1315690 - Limit cedar TC tests to Linux64 mochitest* and xpcshell only (fix lint errors) u=aselagea r=dustin
This commit is contained in:
parent
35b93a38b7
commit
9e85c7c832
@ -118,10 +118,11 @@ def target_tasks_cedar(full_task_graph, parameters):
|
||||
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)]
|
||||
|
Loading…
Reference in New Issue
Block a user