From a3d3efd3cfc6e9b0ce8a7536527e1e9ca134f80a Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Sun, 2 Jun 2024 11:33:07 +0200 Subject: Add meson test --max-lines Let's allow users to configure how many lines are shown at most when a test fails. --- data/shell-completions/bash/meson | 1 + data/shell-completions/zsh/_meson | 1 + 2 files changed, 2 insertions(+) (limited to 'data') 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' ) -- cgit v1.2.3