mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 00:32:11 +00:00
81e2bae92a
Differential Revision: https://phabricator.services.mozilla.com/D204834
68 lines
1.9 KiB
Raku
68 lines
1.9 KiB
Raku
|
|
$ . $TESTDIR/setup.sh
|
|
$ cd $topsrcdir
|
|
|
|
Test auto selector
|
|
|
|
$ ./mach try auto $testargs
|
|
Commit message:
|
|
Tasks automatically selected.
|
|
|
|
mach try command: `./mach try auto --no-push --no-artifact`
|
|
|
|
Pushed via `mach try auto`
|
|
Calculated try_task_config.json:
|
|
{
|
|
"parameters": {
|
|
"optimize_strategies": "gecko_taskgraph.optimize:tryselect.bugbug_reduced_manifests_config_selection_medium",
|
|
"optimize_target_tasks": true,
|
|
"target_tasks_method": "try_auto",
|
|
"test_manifest_loader": "bugbug",
|
|
"try_mode": "try_auto",
|
|
"try_task_config": {}
|
|
},
|
|
"version": 2
|
|
}
|
|
|
|
|
|
$ ./mach try auto $testargs --closed-tree
|
|
Commit message:
|
|
Tasks automatically selected. ON A CLOSED TREE
|
|
|
|
mach try command: `./mach try auto --no-push --no-artifact --closed-tree`
|
|
|
|
Pushed via `mach try auto`
|
|
Calculated try_task_config.json:
|
|
{
|
|
"parameters": {
|
|
"optimize_strategies": "gecko_taskgraph.optimize:tryselect.bugbug_reduced_manifests_config_selection_medium",
|
|
"optimize_target_tasks": true,
|
|
"target_tasks_method": "try_auto",
|
|
"test_manifest_loader": "bugbug",
|
|
"try_mode": "try_auto",
|
|
"try_task_config": {}
|
|
},
|
|
"version": 2
|
|
}
|
|
|
|
$ ./mach try auto $testargs --closed-tree -m "foo {msg} bar"
|
|
Commit message:
|
|
foo Tasks automatically selected. bar ON A CLOSED TREE
|
|
|
|
mach try command: `./mach try auto --no-push --no-artifact --closed-tree -m "foo {msg} bar"`
|
|
|
|
Pushed via `mach try auto`
|
|
Calculated try_task_config.json:
|
|
{
|
|
"parameters": {
|
|
"optimize_strategies": "gecko_taskgraph.optimize:tryselect.bugbug_reduced_manifests_config_selection_medium",
|
|
"optimize_target_tasks": true,
|
|
"target_tasks_method": "try_auto",
|
|
"test_manifest_loader": "bugbug",
|
|
"try_mode": "try_auto",
|
|
"try_task_config": {}
|
|
},
|
|
"version": 2
|
|
}
|
|
|