mirror of
https://github.com/reactos/CMake.git
synced 2024-12-08 11:56:25 +00:00
f62d301b92
Add a TestLoad setting to CTest that can be set via a new --test-load command-line option, CTEST_TEST_LOAD variable, or TEST_LOAD option to the ctest_test command. Teach cmCTestMultiProcessHandler to measure the CPU load and avoid starting tests that may take more than the spare load currently available. The expression <current_load> + <test_processors> <= <max-load> must be true to start a new test. Co-Author: Zack Galbreath <zack.galbreath@kitware.com>
30 lines
934 B
ReStructuredText
30 lines
934 B
ReStructuredText
ctest_memcheck
|
|
--------------
|
|
|
|
Perform the :ref:`CTest MemCheck Step` as a :ref:`Dashboard Client`.
|
|
|
|
::
|
|
|
|
ctest_memcheck([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 with a dynamic analysis tool and store results in
|
|
``MemCheck.xml`` for submission with the :command:`ctest_submit`
|
|
command.
|
|
|
|
The options are the same as those for the :command:`ctest_test` command.
|