Merge topic 'truncation_relnotes'

99cad40172 Help: Document version of ctest(1) adding output truncation mode
a6f2c13727 Help: Add release notes for test-output-truncation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7242
This commit is contained in:
Brad King
2022-05-06 13:00:20 +00:00
committed by Kitware Robot
2 changed files with 19 additions and 2 deletions

View File

@@ -357,14 +357,20 @@ See `Build and Test Mode`_.
Specify the directory in which to look for tests.
``--test-output-size-passed <size>``
.. versionadded:: 3.4
Limit the output for passed tests to ``<size>`` bytes.
``--test-output-size-failed <size>``
.. versionadded:: 3.4
Limit the output for failed tests to ``<size>`` bytes.
``--test-output-truncation <mode>``
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.

View File

@@ -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.