CMake/Tests/RunCMake/ctest_test
Betsy McPhail f62d301b92 ctest: Optionally avoid starting tests that may exceed a given CPU load
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>
2015-06-30 10:21:37 -04:00
..
CMakeLists.txt.in ctest_test: Add QUIET option 2015-02-23 10:01:59 -05:00
CTestConfig.cmake.in ctest_test: Add QUIET option 2015-02-23 10:01:59 -05:00
CTestTestLoadFail-result.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
CTestTestLoadFail-stderr.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
CTestTestLoadFail-stdout.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
CTestTestLoadInvalid-stderr.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
CTestTestLoadInvalid-stdout.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
CTestTestLoadPass-stdout.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
RunCMakeTest.cmake ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestLoadFail-result.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestLoadFail-stderr.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestLoadFail-stdout.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestLoadInvalid-stderr.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestLoadInvalid-stdout.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestLoadOrder-stderr.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestLoadOrder-stdout.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestLoadPass-stdout.txt ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
TestQuiet-stdout.txt ctest_test: Add QUIET option 2015-02-23 10:01:59 -05:00
test.cmake.in ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00