diff options
author | Brad King <brad.king@kitware.com> | 2022-05-06 13:00:20 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-05-06 13:00:26 (GMT) |
commit | 849ad97d9576697b180547d8d850b59e7100c6c0 (patch) | |
tree | 44633575cc644da54990d28c95478568e450bc91 | |
parent | e36599f8b0d5de316d824232180fe17316cd36f3 (diff) | |
parent | 99cad40172c5375ca8dedc64fe01a2b034b67cb7 (diff) | |
download | CMake-849ad97d9576697b180547d8d850b59e7100c6c0.zip CMake-849ad97d9576697b180547d8d850b59e7100c6c0.tar.gz CMake-849ad97d9576697b180547d8d850b59e7100c6c0.tar.bz2 |
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
-rw-r--r-- | Help/manual/ctest.1.rst | 10 | ||||
-rw-r--r-- | Help/release/dev/ctest-output-truncation.rst | 11 |
2 files changed, 19 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 <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. 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. |