summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-06-02 11:33:07 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2024-06-17 19:30:10 +0300
commita3d3efd3cfc6e9b0ce8a7536527e1e9ca134f80a (patch)
tree93d710f0803bc2c8ec2f7607faa5c142d5b82bb0 /data
parentc199faf9807fb898e1c6744c43728dc87c93a0bc (diff)
downloadmeson-a3d3efd3cfc6e9b0ce8a7536527e1e9ca134f80a.tar.gz
Add meson test --max-lines
Let's allow users to configure how many lines are shown at most when a test fails.
Diffstat (limited to 'data')
-rw-r--r--data/shell-completions/bash/meson1
-rw-r--r--data/shell-completions/zsh/_meson1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/shell-completions/bash/meson b/data/shell-completions/bash/meson
index dc437f10f..88dc15ec3 100644
--- a/data/shell-completions/bash/meson
+++ b/data/shell-completions/bash/meson
@@ -580,6 +580,7 @@ _meson-test() {
quiet
timeout-multiplier
setup
+ max-lines
test-args
)
diff --git a/data/shell-completions/zsh/_meson b/data/shell-completions/zsh/_meson
index 402539f1b..7d6d89b7e 100644
--- a/data/shell-completions/zsh/_meson
+++ b/data/shell-completions/zsh/_meson
@@ -196,6 +196,7 @@ local -a meson_commands=(
'(--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: '
+ '--max-lines[Maximum number of lines to show from a long test log]:Python integer number: '
'--test-args[arguments to pass to the tests]: : '
'*:Meson tests:__meson_test_names'
)