CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION — CMake 4.3.0 Documentation

# CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION

Added in version 3.24.

Set the test output truncation mode in case a maximum size is configured via the `CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE` or `CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE` variables. By default the `tail` of the output will be truncated. Other possible values are `middle` and `head`.

It is initialized by `ctest(1)`, but may be edited in a `CTestCustom` file. See `ctest_read_custom_files()` documentation.