From a6f2c1372792c82d62f6f242e46a5d7c0ec1b2aa Mon Sep 17 00:00:00 2001 From: Frank Winklmeier Date: Thu, 5 May 2022 17:50:29 +0200 Subject: Help: Add release notes for test-output-truncation Add missing release notes for test-output-truncation. Issue: #23206 --- Help/release/dev/ctest-output-truncation.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Help/release/dev/ctest-output-truncation.rst diff --git a/Help/release/dev/ctest-output-truncation.rst b/Help/release/dev/ctest-output-truncation.rst new file mode 100644 index 0000000..85fb37c --- /dev/null +++ b/Help/release/dev/ctest-output-truncation.rst @@ -0,0 +1,11 @@ +ctest-output-truncation +----------------------- + +* :manual:`ctest(1)` gained a ``--test-output-truncation`` option (and + corresponding :variable:`CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION` variable) to + specify the truncation mode once the maximum test output size has been + reached. Possible values are ``tail`` (default), ``middle`` or ``head``. +* :manual:`cmake-presets(7)` files now support schema version ``5``. +* :manual:`cmake-presets(7)` files gained support for specifying a + ``testOutputTruncation`` field in test presets, which specifies the truncation + mode once the maximum test output size has been reached. -- cgit v0.12 From 99cad40172c5375ca8dedc64fe01a2b034b67cb7 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 5 May 2022 12:42:20 -0400 Subject: Help: Document version of ctest(1) adding output truncation mode While at it, fix mode value markup. Issue: #23206 --- Help/manual/ctest.1.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index 82e27b8..06f0d4e 100644 --- a/Help/manual/ctest.1.rst +++ b/Help/manual/ctest.1.rst @@ -357,14 +357,20 @@ See `Build and Test Mode`_. Specify the directory in which to look for tests. ``--test-output-size-passed `` + .. versionadded:: 3.4 + Limit the output for passed tests to ```` bytes. ``--test-output-size-failed `` + .. versionadded:: 3.4 + Limit the output for failed tests to ```` bytes. ``--test-output-truncation `` - Truncate 'tail' (default), 'middle' or 'head' of test output once maximum - output size is reached. + .. versionadded:: 3.24 + + Truncate ``tail`` (default), ``middle`` or ``head`` of test output once + maximum output size is reached. ``--overwrite`` Overwrite CTest configuration option. -- cgit v0.12