CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION

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

此變數由 ctest(1) 初始化,但可以在 CTestCustom 檔案中進行編輯。請參見 ctest_read_custom_files() 文件。