aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-09-23 09:19:35 -0700
committerDylan Baker <dylan@pnwbakers.com>2020-09-23 09:19:35 -0700
commitf0db3d37509f755698402b7789662610c6526139 (patch)
treebe7785ebceddb54d55c6036963a515dc87c6c1d7 /data
parentc6f7588afaace7302d92c617dfaf17ca82e9ebc5 (diff)
downloadmeson-f0db3d37509f755698402b7789662610c6526139.zip
meson-f0db3d37509f755698402b7789662610c6526139.tar.gz
meson-f0db3d37509f755698402b7789662610c6526139.tar.bz2
zsh: add missing arguments to meson test completions
This also reorders the options internally to match the output of meson test --help, which makes it easier to diff
Diffstat (limited to 'data')
-rw-r--r--data/shell-completions/zsh/_meson11
1 files changed, 6 insertions, 5 deletions
diff --git a/data/shell-completions/zsh/_meson b/data/shell-completions/zsh/_meson
index 7d1f3a2..07cbe21 100644
--- a/data/shell-completions/zsh/_meson
+++ b/data/shell-completions/zsh/_meson
@@ -160,22 +160,23 @@ local -a meson_commands=(
# TODO: complete test suites
local -a specs=(
- '(--quiet -q)'{'--quiet','-q'}'[produce less output to the terminal]'
- '(--verbose -v)'{'--verbose','-v'}'[do not redirect stdout and stderr]'
- '(--timeout-multiplier -t)'{'--timeout-multiplier','-t'}'[a multiplier for test timeouts]:Python floating-point number: '
- "$__meson_cd"
'--repeat[number of times to run the tests]:number of times to repeat: '
'--no-rebuild[do not rebuild before running tests]'
'--gdb[run tests under gdb]'
+ '--gdb-path=[program to run for gdb (can be wrapper or compaitble program)]:program:_path_commands'
'--list[list available tests]'
'(--wrapper --wrap)'{'--wrapper=','--wrap='}'[wrapper to run tests with]:wrapper program:_path_commands'
- '(--no-suite)--suite[only run tests from this suite]:test suite: '
+ "$__meson_cd"
'(--suite)--no-suite[do not run tests from this suite]:test suite: '
+ '(--no-suite)--suite[only run tests from this suite]:test suite: '
'--no-stdsplit[do not split stderr and stdout in logs]'
'--print-errorlogs[print logs for failing tests]'
'--benchmark[run benchmarks instead of tests]'
'--logbase[base name for log file]:filename: '
'--num-processes[how many threads to use]:number of processes: '
+ '(--verbose -v)'{'--verbose','-v'}'[do not redirect stdout and stderr]'
+ '(--quiet -q)'{'--quiet','-q'}'[produce less output to the terminal]'
+ '(--timeout-multiplier -t)'{'--timeout-multiplier','-t'}'[a multiplier for test timeouts]:Python floating-point number: '
'--setup[which test setup to use]:test setup: '
'--test-args[arguments to pass to the tests]: : '
'*:Meson tests:__meson_test_names'