Help: Consistently use quotes and fix punctuation in ctest(1) manual
This commit is contained in:
parent
0076fb100b
commit
7c67d4011e
|
@ -56,7 +56,7 @@ Options
|
||||||
Enable failover.
|
Enable failover.
|
||||||
|
|
||||||
This option allows ctest to resume a test set execution that was
|
This option allows ctest to resume a test set execution that was
|
||||||
previously interrupted. If no interruption occurred, the -F option
|
previously interrupted. If no interruption occurred, the ``-F`` option
|
||||||
will have no effect.
|
will have no effect.
|
||||||
|
|
||||||
``-j <jobs>, --parallel <jobs>``
|
``-j <jobs>, --parallel <jobs>``
|
||||||
|
@ -77,12 +77,12 @@ Options
|
||||||
Make ctest quiet.
|
Make ctest quiet.
|
||||||
|
|
||||||
This option will suppress all the output. The output log file will
|
This option will suppress all the output. The output log file will
|
||||||
still be generated if the --output-log is specified. Options such
|
still be generated if the ``--output-log`` is specified. Options such
|
||||||
as --verbose, --extra-verbose, and --debug are ignored if --quiet is
|
as ``--verbose``, ``--extra-verbose``, and ``--debug`` are ignored
|
||||||
specified.
|
if ``--quiet`` is specified.
|
||||||
|
|
||||||
``-O <file>, --output-log <file>``
|
``-O <file>, --output-log <file>``
|
||||||
Output to log file
|
Output to log file.
|
||||||
|
|
||||||
This option tells ctest to write all its output to a log file.
|
This option tells ctest to write all its output to a log file.
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ Options
|
||||||
Disable actual execution of tests.
|
Disable actual execution of tests.
|
||||||
|
|
||||||
This option tells ctest to list the tests that would be run but not
|
This option tells ctest to list the tests that would be run but not
|
||||||
actually run them. Useful in conjunction with the -R and -E
|
actually run them. Useful in conjunction with the ``-R`` and ``-E``
|
||||||
options.
|
options.
|
||||||
|
|
||||||
``-L <regex>, --label-regex <regex>``
|
``-L <regex>, --label-regex <regex>``
|
||||||
|
@ -118,7 +118,7 @@ Options
|
||||||
given regular expression.
|
given regular expression.
|
||||||
|
|
||||||
``-D <dashboard>, --dashboard <dashboard>``
|
``-D <dashboard>, --dashboard <dashboard>``
|
||||||
Execute dashboard test
|
Execute dashboard test.
|
||||||
|
|
||||||
This option tells ctest to act as a CDash client and perform a
|
This option tells ctest to act as a CDash client and perform a
|
||||||
dashboard test. All tests are <Mode><Test>, where Mode can be
|
dashboard test. All tests are <Mode><Test>, where Mode can be
|
||||||
|
@ -126,26 +126,27 @@ Options
|
||||||
Update, Configure, Build, Test, Coverage, and Submit.
|
Update, Configure, Build, Test, Coverage, and Submit.
|
||||||
|
|
||||||
``-D <var>:<type>=<value>``
|
``-D <var>:<type>=<value>``
|
||||||
Define a variable for script mode
|
Define a variable for script mode.
|
||||||
|
|
||||||
Pass in variable values on the command line. Use in conjunction
|
Pass in variable values on the command line. Use in conjunction
|
||||||
with -S to pass variable values to a dashboard script. Parsing -D
|
with ``-S`` to pass variable values to a dashboard script. Parsing ``-D``
|
||||||
arguments as variable values is only attempted if the value
|
arguments as variable values is only attempted if the value
|
||||||
following -D does not match any of the known dashboard types.
|
following ``-D`` does not match any of the known dashboard types.
|
||||||
|
|
||||||
``-M <model>, --test-model <model>``
|
``-M <model>, --test-model <model>``
|
||||||
Sets the model for a dashboard
|
Sets the model for a dashboard.
|
||||||
|
|
||||||
This option tells ctest to act as a CDash client where the TestModel
|
This option tells ctest to act as a CDash client where the ``<model>``
|
||||||
can be Experimental, Nightly, and Continuous. Combining -M and -T
|
can be ``Experimental``, ``Nightly``, and ``Continuous``.
|
||||||
is similar to -D
|
Combining ``-M`` and ``-T`` is similar to ``-D``.
|
||||||
|
|
||||||
``-T <action>, --test-action <action>``
|
``-T <action>, --test-action <action>``
|
||||||
Sets the dashboard action to perform
|
Sets the dashboard action to perform.
|
||||||
|
|
||||||
This option tells ctest to act as a CDash client and perform some
|
This option tells ctest to act as a CDash client and perform some
|
||||||
action such as start, build, test etc. Combining -M and -T is
|
action such as ``start``, ``build``, ``test`` etc. See
|
||||||
similar to -D
|
`Dashboard Client Steps`_ for the full list of actions.
|
||||||
|
Combining ``-M`` and ``-T`` is similar to ``-D``.
|
||||||
|
|
||||||
``--track <track>``
|
``--track <track>``
|
||||||
Specify the track to submit dashboard to
|
Specify the track to submit dashboard to
|
||||||
|
@ -156,24 +157,24 @@ Options
|
||||||
arbitrary.
|
arbitrary.
|
||||||
|
|
||||||
``-S <script>, --script <script>``
|
``-S <script>, --script <script>``
|
||||||
Execute a dashboard for a configuration
|
Execute a dashboard for a configuration.
|
||||||
|
|
||||||
This option tells ctest to load in a configuration script which sets
|
This option tells ctest to load in a configuration script which sets
|
||||||
a number of parameters such as the binary and source directories.
|
a number of parameters such as the binary and source directories.
|
||||||
Then ctest will do what is required to create and run a dashboard.
|
Then ctest will do what is required to create and run a dashboard.
|
||||||
This option basically sets up a dashboard and then runs ctest -D
|
This option basically sets up a dashboard and then runs ``ctest -D``
|
||||||
with the appropriate options.
|
with the appropriate options.
|
||||||
|
|
||||||
``-SP <script>, --script-new-process <script>``
|
``-SP <script>, --script-new-process <script>``
|
||||||
Execute a dashboard for a configuration
|
Execute a dashboard for a configuration.
|
||||||
|
|
||||||
This option does the same operations as -S but it will do them in a
|
This option does the same operations as ``-S`` but it will do them in a
|
||||||
separate process. This is primarily useful in cases where the
|
separate process. This is primarily useful in cases where the
|
||||||
script may modify the environment and you do not want the modified
|
script may modify the environment and you do not want the modified
|
||||||
environment to impact other -S scripts.
|
environment to impact other ``-S`` scripts.
|
||||||
|
|
||||||
``-A <file>, --add-notes <file>``
|
``-A <file>, --add-notes <file>``
|
||||||
Add a notes file with submission
|
Add a notes file with submission.
|
||||||
|
|
||||||
This option tells ctest to include a notes file when submitting
|
This option tells ctest to include a notes file when submitting
|
||||||
dashboard.
|
dashboard.
|
||||||
|
@ -188,19 +189,19 @@ Options
|
||||||
contains the same syntax as the command line.
|
contains the same syntax as the command line.
|
||||||
|
|
||||||
``-U, --union``
|
``-U, --union``
|
||||||
Take the Union of -I and -R
|
Take the Union of ``-I`` and ``-R``.
|
||||||
|
|
||||||
When both -R and -I are specified by default the intersection of
|
When both ``-R`` and ``-I`` are specified by default the intersection of
|
||||||
tests are run. By specifying -U the union of tests is run instead.
|
tests are run. By specifying ``-U`` the union of tests is run instead.
|
||||||
|
|
||||||
``--rerun-failed``
|
``--rerun-failed``
|
||||||
Run only the tests that failed previously
|
Run only the tests that failed previously.
|
||||||
|
|
||||||
This option tells ctest to perform only the tests that failed during
|
This option tells ctest to perform only the tests that failed during
|
||||||
its previous run. When this option is specified, ctest ignores all
|
its previous run. When this option is specified, ctest ignores all
|
||||||
other options intended to modify the list of tests to run (-L, -R,
|
other options intended to modify the list of tests to run (``-L``, ``-R``,
|
||||||
-E, -LE, -I, etc). In the event that CTest runs and no tests fail,
|
``-E``, ``-LE``, ``-I``, etc). In the event that CTest runs and no tests
|
||||||
subsequent calls to ctest with the --rerun-failed option will run
|
fail, subsequent calls to ctest with the ``--rerun-failed`` option will run
|
||||||
the set of tests that most recently failed (if any).
|
the set of tests that most recently failed (if any).
|
||||||
|
|
||||||
``--repeat-until-fail <n>``
|
``--repeat-until-fail <n>``
|
||||||
|
@ -209,7 +210,7 @@ Options
|
||||||
This is useful in finding sporadic failures in test cases.
|
This is useful in finding sporadic failures in test cases.
|
||||||
|
|
||||||
``--max-width <width>``
|
``--max-width <width>``
|
||||||
Set the max width for a test name to output
|
Set the max width for a test name to output.
|
||||||
|
|
||||||
Set the maximum width for each test name to show in the output.
|
Set the maximum width for each test name to show in the output.
|
||||||
This allows the user to widen the output to avoid clipping the test
|
This allows the user to widen the output to avoid clipping the test
|
||||||
|
@ -239,19 +240,19 @@ Options
|
||||||
and or execute a test. The configure and test steps are optional.
|
and or execute a test. The configure and test steps are optional.
|
||||||
The arguments to this command line are the source and binary
|
The arguments to this command line are the source and binary
|
||||||
directories. By default this will run CMake on the Source/Bin
|
directories. By default this will run CMake on the Source/Bin
|
||||||
directories specified unless --build-nocmake is specified.
|
directories specified unless ``--build-nocmake`` is specified.
|
||||||
The --build-generator option *must* be provided to use
|
The ``--build-generator`` option *must* be provided to use
|
||||||
--build-and-test. If --test-command is specified then that will be
|
``--build-and-test``. If ``--test-command`` is specified then that will be
|
||||||
run after the build is complete. Other options that affect this
|
run after the build is complete. Other options that affect this
|
||||||
mode are --build-target --build-nocmake, --build-run-dir,
|
mode are ``--build-target``, ``--build-nocmake``, ``--build-run-dir``,
|
||||||
--build-two-config, --build-exe-dir,
|
``--build-two-config``, ``--build-exe-dir``,
|
||||||
--build-project,--build-noclean, --build-options
|
``--build-project``, ``--build-noclean`` and ``--build-options``.
|
||||||
|
|
||||||
``--build-target``
|
``--build-target``
|
||||||
Specify a specific target to build.
|
Specify a specific target to build.
|
||||||
|
|
||||||
This option goes with the --build-and-test option, if left out the
|
This option goes with the ``--build-and-test`` option, if left out the
|
||||||
all target is built.
|
``all`` target is built.
|
||||||
|
|
||||||
``--build-nocmake``
|
``--build-nocmake``
|
||||||
Run the build without running cmake first.
|
Run the build without running cmake first.
|
||||||
|
@ -264,13 +265,13 @@ Options
|
||||||
Directory where programs will be after it has been compiled.
|
Directory where programs will be after it has been compiled.
|
||||||
|
|
||||||
``--build-two-config``
|
``--build-two-config``
|
||||||
Run CMake twice
|
Run CMake twice.
|
||||||
|
|
||||||
``--build-exe-dir``
|
``--build-exe-dir``
|
||||||
Specify the directory for the executable.
|
Specify the directory for the executable.
|
||||||
|
|
||||||
``--build-generator``
|
``--build-generator``
|
||||||
Specify the generator to use.
|
Specify the generator to use. See the :manual:`cmake-generators(7)` manual.
|
||||||
|
|
||||||
``--build-generator-platform``
|
``--build-generator-platform``
|
||||||
Specify the generator-specific platform.
|
Specify the generator-specific platform.
|
||||||
|
@ -288,25 +289,23 @@ Options
|
||||||
Skip the make clean step.
|
Skip the make clean step.
|
||||||
|
|
||||||
``--build-config-sample``
|
``--build-config-sample``
|
||||||
A sample executable to use to determine the configuration
|
|
||||||
|
|
||||||
A sample executable to use to determine the configuration that
|
A sample executable to use to determine the configuration that
|
||||||
should be used. e.g. Debug/Release/etc
|
should be used. e.g. Debug/Release/etc.
|
||||||
|
|
||||||
``--build-options``
|
``--build-options``
|
||||||
Add extra options to the build step.
|
Add extra options to the build step.
|
||||||
|
|
||||||
This option must be the last option with the exception of
|
This option must be the last option with the exception of
|
||||||
--test-command
|
``--test-command``
|
||||||
|
|
||||||
``--test-command``
|
``--test-command``
|
||||||
The test to run with the --build-and-test option.
|
The test to run with the ``--build-and-test`` option.
|
||||||
|
|
||||||
``--test-output-size-passed <size>``
|
``--test-output-size-passed <size>``
|
||||||
Limit the output for passed tests to <size> bytes.
|
Limit the output for passed tests to ``<size>`` bytes.
|
||||||
|
|
||||||
``--test-output-size-failed <size>``
|
``--test-output-size-failed <size>``
|
||||||
Limit the output for failed tests to <size> bytes.
|
Limit the output for failed tests to ``<size>`` bytes.
|
||||||
|
|
||||||
``--test-timeout``
|
``--test-timeout``
|
||||||
The time limit in seconds, internal use only.
|
The time limit in seconds, internal use only.
|
||||||
|
@ -335,14 +334,14 @@ Options
|
||||||
This option will submit extra files to the dashboard.
|
This option will submit extra files to the dashboard.
|
||||||
|
|
||||||
``--force-new-ctest-process``
|
``--force-new-ctest-process``
|
||||||
Run child CTest instances as new processes
|
Run child CTest instances as new processes.
|
||||||
|
|
||||||
By default CTest will run child CTest instances within the same
|
By default CTest will run child CTest instances within the same
|
||||||
process. If this behavior is not desired, this argument will
|
process. If this behavior is not desired, this argument will
|
||||||
enforce new processes for child CTest processes.
|
enforce new processes for child CTest processes.
|
||||||
|
|
||||||
``--schedule-random``
|
``--schedule-random``
|
||||||
Use a random order for scheduling tests
|
Use a random order for scheduling tests.
|
||||||
|
|
||||||
This option will run the tests in a random order. It is commonly
|
This option will run the tests in a random order. It is commonly
|
||||||
used to detect implicit dependencies in a test suite.
|
used to detect implicit dependencies in a test suite.
|
||||||
|
@ -361,7 +360,7 @@ Options
|
||||||
Set a time at which all tests should stop running.
|
Set a time at which all tests should stop running.
|
||||||
|
|
||||||
Set a real time of day at which all tests should timeout. Example:
|
Set a real time of day at which all tests should timeout. Example:
|
||||||
7:00:00 -0400. Any time format understood by the curl date parser
|
``7:00:00 -0400``. Any time format understood by the curl date parser
|
||||||
is accepted. Local time is assumed if no timezone is specified.
|
is accepted. Local time is assumed if no timezone is specified.
|
||||||
|
|
||||||
``--http1.0``
|
``--http1.0``
|
||||||
|
|
Loading…
Reference in New Issue