cmake/Help/command/ctest_start.rst

26 lines
1.1 KiB
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
ctest_start
-----------
Starts the testing for a given model
::
2015-08-17 11:37:30 +02:00
ctest_start(Model [TRACK <track>] [APPEND] [source [binary]] [QUIET])
2014-08-03 19:52:23 +02:00
Starts the testing for a given model. The command should be called
after the binary directory is initialized. If the 'source' and
'binary' directory are not specified, it reads the
2015-04-27 22:25:09 +02:00
:variable:`CTEST_SOURCE_DIRECTORY` and :variable:`CTEST_BINARY_DIRECTORY`.
If the track is
2014-08-03 19:52:23 +02:00
specified, the submissions will go to the specified track. If APPEND
is used, the existing TAG is used rather than creating a new one based
2015-11-17 17:22:37 +01:00
on the current time stamp. If ``QUIET`` is used, CTest will suppress any
2015-08-17 11:37:30 +02:00
non-error messages that it otherwise would have printed to the console.
2015-04-27 22:25:09 +02:00
If the :variable:`CTEST_CHECKOUT_COMMAND` variable
(or the :variable:`CTEST_CVS_CHECKOUT` variable)
is set, its content is treated as command-line. The command is
invoked with the current working directory set to the parent of the source
directory, even if the source directory already exists. This can be used
to create the source tree from a version control repository.