Files
CMake/Help/command/ctest_run_script.rst
Tyler Yankee cec6248a94 Help/ctest_*: Improve documentation around the edges
Improve standardization and cross-references. This doesn't make any
substantial changes to the existing prose.
2026-04-13 14:32:01 -04:00

22 lines
496 B
ReStructuredText

ctest_run_script
----------------
Run a :option:`ctest -S` script.
.. code-block:: cmake
ctest_run_script([NEW_PROCESS]
<script-file>...
[RETURN_VALUE <result-var>]
)
Runs a script or scripts much like if it was run from :option:`ctest -S`.
The options are:
``NEW_PROCESS``
Run each script in a separate process.
``RETURN_VALUE <result-var>``
Store in the ``<result-var>`` variable ``0`` for success and
non-zero on failure.