mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Merge topic 'truncation_relnotes'
99cad40172Help: Document version of ctest(1) adding output truncation modea6f2c13727Help: Add release notes for test-output-truncation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7242
This commit is contained in:
@@ -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.
|
||||
|
||||
11
Help/release/dev/ctest-output-truncation.rst
Normal file
11
Help/release/dev/ctest-output-truncation.rst
Normal 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.
|
||||
Reference in New Issue
Block a user