ctest_start.rst 910 B

12345678910111213141516171819202122
  1. ctest_start
  2. -----------
  3. Starts the testing for a given model
  4. ::
  5. ctest_start(Model [TRACK <track>] [APPEND] [source [binary]])
  6. Starts the testing for a given model. The command should be called
  7. after the binary directory is initialized. If the 'source' and
  8. 'binary' directory are not specified, it reads the
  9. CTEST_SOURCE_DIRECTORY and CTEST_BINARY_DIRECTORY. If the track is
  10. specified, the submissions will go to the specified track. If APPEND
  11. is used, the existing TAG is used rather than creating a new one based
  12. on the current time stamp.
  13. If the ``CTEST_CHECKOUT_COMMAND`` variable (or the ``CTEST_CVS_CHECKOUT``
  14. variable) is set, its content is treated as command-line. The command is
  15. invoked with the current working directory set to the parent of the source
  16. directory, even if the source directory already exists. This can be used
  17. to create the source tree from a version control repository.