CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE — CMake 3.26.4 Documentation

# CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE

When saving a failing test's output, this is the maximum size, in bytes, that will be collected by the `ctest_test()` command. Defaults to 307200 (300 KiB). See `CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION` for possible truncation modes.

If a test's output contains the literal string "CTEST_FULL_OUTPUT", the output will not be truncated and may exceed the maximum size.

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

For controlling the output collection of passing tests, see `CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE`.