https://github.com/Kitware/CMake
Revision f62d301b9257542f5460902c400af3f947f10a66 authored by Betsy McPhail on 09 June 2015, 12:50:44 UTC, committed by Brad King on 30 June 2015, 14:21:37 UTC
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>
1 parent 07c550c
History
Tip revision: f62d301b9257542f5460902c400af3f947f10a66 authored by Betsy McPhail on 09 June 2015, 12:50:44 UTC
ctest: Optionally avoid starting tests that may exceed a given CPU load
Tip revision: f62d301
File Mode Size
Auxiliary
Help
Licenses
Modules
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 613 bytes
.hooks-config.bash -rw-r--r-- 866 bytes
CMakeCPack.cmake -rw-r--r-- 6.5 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 4.5 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 25.0 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CONTRIBUTING.rst -rw-r--r-- 1009 bytes
CTestConfig.cmake -rw-r--r-- 870 bytes
CTestCustom.cmake.in -rw-r--r-- 5.0 KB
CompileFlags.cmake -rw-r--r-- 3.1 KB
Copyright.txt -rw-r--r-- 2.6 KB
DartConfig.cmake -rw-r--r-- 804 bytes
README.rst -rw-r--r-- 2.9 KB
bootstrap -rwxr-xr-x 57.5 KB
cmake_uninstall.cmake.in -rw-r--r-- 790 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

README.rst

back to top