Merge topic 'doc-check-run'

94b6f8bf4a Help: Check*Runs requires exit code 0 for success

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !10047
This commit is contained in:
Brad King
2024-12-04 13:51:31 +00:00
committed by Kitware Robot
6 changed files with 18 additions and 18 deletions
+3 -3
View File
@@ -19,9 +19,9 @@ subsequently be run.
function.
The result is stored in the internal cache variable specified by
``<resultVar>``. Success of build and run is indicated by boolean ``true``.
Failure to build or run is indicated by boolean ``false`` such as an empty
string or an error message.
``<resultVar>``. If the code builds and runs with exit code ``0``, success is
indicated by boolean ``true``. Failure to build or run is indicated by boolean
``false``, such as an empty string or an error message.
See also :command:`check_source_runs` for a more general command syntax.
+3 -3
View File
@@ -19,9 +19,9 @@ subsequently be run.
function.
The result is stored in the internal cache variable specified by
``<resultVar>``. Success of build and run is indicated by boolean ``true``.
Failure to build or run is indicated by boolean ``false`` such as an empty
string or an error message.
``<resultVar>``. If the code builds and runs with exit code ``0``, success is
indicated by boolean ``true``. Failure to build or run is indicated by boolean
``false``, such as an empty string or an error message.
See also :command:`check_source_runs` for a more general command syntax.
+3 -3
View File
@@ -21,9 +21,9 @@ subsequently be run.
executable, and then run. The ``<code>`` must contain a Fortran ``program``.
The result is stored in the internal cache variable specified by
``<resultVar>``. Success of build and run is indicated by boolean ``true``.
Failure to build or run is indicated by boolean ``false`` such as an empty
string or an error message.
``<resultVar>``. If the code builds and runs with exit code ``0``, success is
indicated by boolean ``true``. Failure to build or run is indicated by boolean
``false``, such as an empty string or an error message.
.. code-block:: cmake
+3 -3
View File
@@ -21,9 +21,9 @@ can subsequently be run.
function.
The result is stored in the internal cache variable specified by
``<resultVar>``. Success of build and run is indicated by boolean ``true``.
Failure to build or run is indicated by boolean ``false`` such as an empty
string or an error message.
``<resultVar>``. If the code builds and runs with exit code ``0``, success is
indicated by boolean ``true``. Failure to build or run is indicated by boolean
``false``, such as an empty string or an error message.
See also :command:`check_source_runs` for a more general command syntax.
+3 -3
View File
@@ -21,9 +21,9 @@ and can subsequently be run.
function.
The result is stored in the internal cache variable specified by
``<resultVar>``. Success of build and run is indicated by boolean ``true``.
Failure to build or run is indicated by boolean ``false`` such as an empty
string or an error message.
``<resultVar>``. If the code builds and runs with exit code ``0``, success is
indicated by boolean ``true``. Failure to build or run is indicated by boolean
``false``, such as an empty string or an error message.
See also :command:`check_source_runs` for a more general command syntax.
+3 -3
View File
@@ -23,9 +23,9 @@ subsequently be run.
a ``main()`` function, or in Fortran a ``program``.
The result is stored in the internal cache variable specified by
``<resultVar>``. Success of build and run is indicated by boolean ``true``.
Failure to build or run is indicated by boolean ``false`` such as an empty
string or an error message.
``<resultVar>``. If the code builds and runs with exit code ``0``, success is
indicated by boolean ``true``. Failure to build or run is indicated by boolean
``false``, such as an empty string or an error message.
By default, the test source file will be given a file extension that matches
the requested language. The ``SRC_EXT`` option can be used to override this