Back to Cmake

TestOutput Properties

Help/manual/presets/testOutput-properties.rst

4.4.03.2 KB
Original Source

.. This file was generated by Utilities/Scripts/regenerate-presets.py from Help/manual/presets/schema.yaml. Do not edit.

.. _CMakePresets.testPresets.output.shortProgress:

shortProgress An optional bool. If true, equivalent to passing :ctest-option:--progress on the command line.

.. _CMakePresets.testPresets.output.verbosity:

verbosity An optional string specifying verbosity level. Must be one of the following:

default Equivalent to passing no verbosity flags on the command line.

verbose Equivalent to passing :ctest-option:--verbose on the command line.

extra Equivalent to passing :ctest-option:--extra-verbose on the command line.

.. _CMakePresets.testPresets.output.debug:

debug An optional bool. If true, equivalent to passing :ctest-option:--debug on the command line.

.. _CMakePresets.testPresets.output.outputOnFailure:

outputOnFailure An optional bool. If true, equivalent to passing :ctest-option:--output-on-failure on the command line.

.. _CMakePresets.testPresets.output.quiet:

quiet An optional bool. If true, equivalent to passing :ctest-option:--quiet on the command line.

.. _CMakePresets.testPresets.output.outputLogFile:

outputLogFile An optional string specifying a path to a log file. Equivalent to passing :ctest-option:--output-log on the command line. This field supports macro expansion_.

.. _CMakePresets.testPresets.output.outputJUnitFile:

outputJUnitFile .. presets-versionadded:: 6

An optional string specifying a path to a JUnit file. Equivalent to passing :ctest-option:--output-junit on the command line. This field supports macro expansion_.

.. _CMakePresets.testPresets.output.labelSummary:

labelSummary An optional bool. If false, equivalent to passing :ctest-option:--no-label-summary on the command line.

.. _CMakePresets.testPresets.output.subprojectSummary:

subprojectSummary An optional bool. If false, equivalent to passing :ctest-option:--no-subproject-summary on the command line.

.. _CMakePresets.testPresets.output.maxPassedTestOutputSize:

maxPassedTestOutputSize An optional integer specifying the maximum output for passed tests in bytes. Equivalent to passing :ctest-option:--test-output-size-passed on the command line.

.. _CMakePresets.testPresets.output.maxFailedTestOutputSize:

maxFailedTestOutputSize An optional integer specifying the maximum output for failed tests in bytes. Equivalent to passing :ctest-option:--test-output-size-failed on the command line.

.. _CMakePresets.testPresets.output.testOutputTruncation:

testOutputTruncation .. presets-versionadded:: 5

An optional string specifying the test output truncation mode. Equivalent to passing :ctest-option:--test-output-truncation on the command line. Must be one of the following values:

  • tail

  • middle

  • head

.. _CMakePresets.testPresets.output.maxTestNameWidth:

maxTestNameWidth An optional integer specifying the maximum width of a test name to output. Equivalent to passing :ctest-option:--max-width on the command line.