ctest_run_script
Run a ctest -S script.
ctest_run_script([NEW_PROCESS]
<script-file>...
[RETURN_VALUE <result-var>]
)
Runs a script or scripts much like if it was run from ctest -S. The options are:
-
NEW_PROCESS -
Run each script in a separate process.
-
RETURN_VALUE <result-var> -
Store in the
<result-var>variable0for success and non-zero on failure.
© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/command/ctest_run_script.html