ctest_run_script.rst 539 B

123456789101112131415
  1. ctest_run_script
  2. ----------------
  3. runs a ctest -S script
  4. ::
  5. ctest_run_script([NEW_PROCESS] script_file_name script_file_name1
  6. script_file_name2 ... [RETURN_VALUE var])
  7. Runs a script or scripts much like if it was run from ctest -S. If no
  8. argument is provided then the current script is run using the current
  9. settings of the variables. If ``NEW_PROCESS`` is specified then each
  10. script will be run in a separate process.If ``RETURN_VALUE`` is specified
  11. the return value of the last script run will be put into ``var``.