mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
74 lines
1.2 KiB
Raku
74 lines
1.2 KiB
Raku
$ . $TESTDIR/setup.sh
|
|
$ cd $topsrcdir
|
|
|
|
Test fuzzy selector
|
|
|
|
$ ./mach try fuzzy $testargs -q "'foo"
|
|
Commit message:
|
|
Fuzzy with query: 'foo
|
|
|
|
Pushed via `mach try fuzzy`
|
|
Calculated try_task_config.json:
|
|
{
|
|
"tasks":[
|
|
"test/foo-debug",
|
|
"test/foo-opt"
|
|
]
|
|
}
|
|
|
|
$ ./mach try fuzzy $testargs -q "'bar"
|
|
no tasks selected
|
|
$ ./mach try fuzzy $testargs --full -q "'bar"
|
|
Commit message:
|
|
Fuzzy with query: 'bar
|
|
|
|
Pushed via `mach try fuzzy`
|
|
Calculated try_task_config.json:
|
|
{
|
|
"tasks":[
|
|
"test/bar-debug",
|
|
"test/bar-opt"
|
|
]
|
|
}
|
|
|
|
|
|
Test templates
|
|
|
|
$ ./mach try fuzzy --no-push --artifact -q "'foo"
|
|
Commit message:
|
|
Fuzzy with query: 'foo
|
|
|
|
Pushed via `mach try fuzzy`
|
|
Calculated try_task_config.json:
|
|
{
|
|
"templates":{
|
|
"artifact":{
|
|
"enabled":"1"
|
|
}
|
|
},
|
|
"tasks":[
|
|
"test/foo-debug",
|
|
"test/foo-opt"
|
|
]
|
|
}
|
|
|
|
$ ./mach try fuzzy $testargs --env FOO=1 --env BAR=baz -q "'foo"
|
|
Commit message:
|
|
Fuzzy with query: 'foo
|
|
|
|
Pushed via `mach try fuzzy`
|
|
Calculated try_task_config.json:
|
|
{
|
|
"templates":{
|
|
"env":{
|
|
"FOO":"1",
|
|
"BAR":"baz"
|
|
}
|
|
},
|
|
"tasks":[
|
|
"test/foo-debug",
|
|
"test/foo-opt"
|
|
]
|
|
}
|
|
|