mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
42ef0b1151
add_args_to_command in taskcluster/taskgraph/actions/util.py assumes that the cmd_parts argument on OSX consists of a list containing a single list item. This is not always the case in that it is possible for cmd_parts to contain multiple command such as changing file permissions before executing a test command. This patch adds a check for cmd_parts consisting of a list of two items, the second of which is a list. The extra_args are appended to the second item. The existing behavior for a cmd_parts argument consisting of a list containing a single list item is preserved for backwards compatibility. add_args_to_command also suffers from an additional problem in that it modifies the cmd_parts argument which results in the object being modified in the caller. create_isolate_failure_tasks in taskcluster/taskgraph/actions/isolate_test.py also suffers from the modification of the task_description argument. This is fixed by using deepcopied versions of the objects in the corresponding functions. create_isolate_failure_tasks handling of empty failure groups and unknown failure groups is also improved. Differential Revision: https://phabricator.services.mozilla.com/D65430 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
actions | ||
cron | ||
loader | ||
manifests | ||
optimize | ||
test | ||
transforms | ||
util | ||
__init__.py | ||
config.py | ||
create.py | ||
decision.py | ||
docker.py | ||
files_changed.py | ||
filter_tasks.py | ||
generator.py | ||
graph.py | ||
morph.py | ||
parameters.py | ||
target_tasks.py | ||
task.py | ||
taskgraph.py | ||
try_option_syntax.py |