ctest_start.rst 949 B

123456789101112131415161718192021222324
  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. :variable:`CTEST_SOURCE_DIRECTORY` and :variable:`CTEST_BINARY_DIRECTORY`.
  10. If the track is
  11. specified, the submissions will go to the specified track. If APPEND
  12. is used, the existing TAG is used rather than creating a new one based
  13. on the current time stamp.
  14. If the :variable:`CTEST_CHECKOUT_COMMAND` variable
  15. (or the :variable:`CTEST_CVS_CHECKOUT` variable)
  16. is set, its content is treated as command-line. The command is
  17. invoked with the current working directory set to the parent of the source
  18. directory, even if the source directory already exists. This can be used
  19. to create the source tree from a version control repository.