Perform the CTest Test Step as a Dashboard Client.
ctest_test([BUILD <build-dir>] [APPEND]
[START <start-number>]
[END <end-number>]
[STRIDE <stride-number>]
[EXCLUDE <exclude-regex>]
[INCLUDE <include-regex>]
[EXCLUDE_LABEL <label-exclude-regex>]
[INCLUDE_LABEL <label-include-regex>]
[PARALLEL_LEVEL <level>]
[TEST_LOAD <threshold>]
[SCHEDULE_RANDOM <ON|OFF>]
[STOP_TIME <time-of-day>]
[RETURN_VALUE <result-var>]
[QUIET]
)
Run tests in the project build tree and store results in Test.xml for submission with the ctest_submit() command.
The options are:
BUILD CTEST_BINARY_DIRECTORY variable is used.APPEND ctest_start() call. Append semantics are defined by the dashboard server in use.START END STRIDE EXCLUDE INCLUDE EXCLUDE_LABEL INCLUDE_LABEL PARALLEL_LEVEL TEST_LOAD CTEST_TEST_LOAD variable will be checked, and then the --test-load command-line argument to ctest(1). See also the TestLoad setting in the CTest Test Step.SCHEDULE_RANDOM STOP_TIME RETURN_VALUE <result-var> variable 0 if all tests passed. Store non-zero if anything went wrong.QUIET QUIET option.See also the CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE and CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE variables.
© 2000–2016 Kitware, Inc.
© 2000–2011 Insight Software Consortium
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.6/command/ctest_test.html