From d31409f51f68cb2291d252b5ce369f86e3c97fd9 Mon Sep 17 00:00:00 2001 From: Tyler Yankee Date: Thu, 22 Oct 2026 08:23:40 -0400 Subject: [PATCH] Help/ctest: Add some clarifications for Dashboard Client mode --- Help/manual/ctest.1.rst | 45 ++++++++++++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 12 deletions(-) diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst index 883e33f945..c9bc9a0451 100644 --- a/Help/manual/ctest.1.rst +++ b/Help/manual/ctest.1.rst @@ -869,6 +869,11 @@ a `CDash`_ server. The command-line signature used to submit to `CDash`_ is:: .. _`CDash`: https://www.cdash.org +The :ctest-option:`-D` option has two meanings. If its value names a +dashboard, such as ``Experimental`` or ``NightlyTest``, CTest runs that +dashboard. Otherwise, the value is treated as a variable definition; +see :option:`-D \=\ `. + Options for Dashboard Client include: .. option:: -D , --dashboard @@ -876,12 +881,27 @@ Options for Dashboard Client include: Execute dashboard test. This option tells CTest to act as a CDash client and perform a - dashboard test. All tests are ````, where ```` can be - ``Experimental``, ``Nightly``, and ``Continuous``, and ```` can be - ``Start``, ``Update``, ``Configure``, ``Build``, ``Test``, - ``Coverage``, and ``Submit``. + dashboard test. The ```` value may be one of: - If ```` is not one of the recognized ```` values, + ```` + Run the steps enabled by default for the given mode, where ```` + is one of the `Dashboard Client Modes`_: ``Experimental``, ``Nightly``, + or ``Continuous``. + + ```` + Run a single step in the given mode, where ```` is one of the + `Dashboard Client Steps`_: ``Start``, ``Update``, ``Configure``, + ``Build``, ``Test``, ``Coverage``, ``MemCheck``, or ``Submit``. + + ``NightlyMemoryCheck`` + Run the ``Start``, ``Update``, ``Configure``, ``Build``, ``MemCheck``, + ``Coverage``, and ``Submit`` steps in ``Nightly`` mode. + + For compatibility, ``MemoryCheck`` is also accepted. It runs the same + steps as ``NightlyMemoryCheck``, except ``Update``, in ``Experimental`` + mode. ``Purify`` is accepted as an alias for ``MemCheck``. + + If ```` is not one of the above values, this will be treated as a variable definition instead (see the :ref:`dashboard-options ` further below). @@ -906,11 +926,11 @@ Options for Dashboard Client include: Execute a dashboard for a configuration. - This option tells CTest to load in a configuration script which sets - a number of parameters such as the binary and source directories. - Then CTest will do what is required to create and run a dashboard. - This option basically sets up a dashboard and then runs :option:`ctest -D` - with the appropriate options. + This option tells CTest to run a :manual:`cmake-language(7)` script + in which the :ref:`CTest Commands` are available. The script sets + the dashboard configuration, such as the source and binary directories, + and calls the commands to run each dashboard step explicitly. + See `Dashboard Client via CTest Script`_. .. option:: -SP