summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
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 /docs/markdown/snippets
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 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/test_max_lines.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/snippets/test_max_lines.md b/docs/markdown/snippets/test_max_lines.md
new file mode 100644
index 000000000..ea10fbb27
--- /dev/null
+++ b/docs/markdown/snippets/test_max_lines.md
@@ -0,0 +1,6 @@
+## The Meson test program supports a new "--max-lines" argument
+
+By default `meson test` only shows the last 100 lines of test output from tests
+that produce large amounts of output. This default can now be changed with the
+new `--max-lines` option. For example, `--max-lines=1000` will increase the
+maximum number of log output lines from 100 to 1000.