зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1638945 - Don't optimize away tasks without a 'build_type' attribute in the 'platform-debug' strategy. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D75982
This commit is contained in:
Родитель
66114f4029
Коммит
3ce7e8085d
|
@ -112,7 +112,7 @@ class SkipUnlessDebug(OptimizationStrategy):
|
|||
"""Only run debug platforms."""
|
||||
|
||||
def should_remove_task(self, task, params, arg):
|
||||
return not (task.attributes.get('build_type') == "debug")
|
||||
return "build_type" in task.attributes and task.attributes["build_type"] != "debug"
|
||||
|
||||
|
||||
@register_strategy("platform-disperse")
|
||||
|
|
Загрузка…
Ссылка в новой задаче