Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: tools/tryselect/test/cram.toml
$ . $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
}