CMake/Source/CTest
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
..
cmCTestBZR.cxx stringapi: Miscellaneous char* parameters 2014-03-08 13:05:37 -05:00
cmCTestBZR.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestBatchTestHandler.cxx Replace 'foo.size() > 0' pattern with !foo.empty(). 2015-01-18 14:25:24 +01:00
cmCTestBatchTestHandler.h Fix a few more places to use cmsys::[io]fstream instead of std::fstream. 2014-10-04 14:20:04 -06:00
cmCTestBuildAndTestHandler.cxx cmState: Compute and store directory components. 2015-05-16 08:11:33 +02:00
cmCTestBuildAndTestHandler.h Port all cmOStringStream to std::ostringstream. 2015-01-11 17:06:03 +01:00
cmCTestBuildCommand.cxx CTest: Stop telling 'make' to ignore errors with -i 2015-05-12 09:06:49 -04:00
cmCTestBuildCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestBuildHandler.cxx Merge topic 'ctest-xml-refactor' 2015-05-28 09:56:53 -04:00
cmCTestBuildHandler.h cmCTestBuildHandler: Port to cmXMLWriter 2015-05-26 11:09:22 -04:00
cmCTestCVS.cxx cmCTestUpdateHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestCVS.h cmCTestUpdateHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestCommand.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestConfigureCommand.cxx ctest_configure: Add QUIET option 2015-02-23 10:01:59 -05:00
cmCTestConfigureCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestConfigureHandler.cxx cmCTestConfigureHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestConfigureHandler.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestCoverageCommand.cxx ctest_coverage: Add QUIET option 2015-02-23 10:02:00 -05:00
cmCTestCoverageCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestCoverageHandler.cxx cmCTestCoverageHandler: Port to cmXMLWriter 2015-05-26 11:09:22 -04:00
cmCTestCoverageHandler.h cmCTestCoverageHandler: Port to cmXMLWriter 2015-05-26 11:09:22 -04:00
cmCTestCurl.cxx ctest_submit: Escape URL components in CDASH_UPLOAD mode 2015-01-30 10:36:38 -05:00
cmCTestCurl.h ctest_submit: Escape URL components in CDASH_UPLOAD mode 2015-01-30 10:36:38 -05:00
cmCTestEmptyBinaryDirectoryCommand.cxx Port all cmOStringStream to std::ostringstream. 2015-01-11 17:06:03 +01:00
cmCTestEmptyBinaryDirectoryCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestGIT.cxx Split cmAlgorithms into a separate header file. 2015-02-10 22:14:18 +01:00
cmCTestGIT.h CTest: Update Git submodules with --recursive 2011-02-22 15:47:50 -05:00
cmCTestGenericHandler.cxx ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
cmCTestGenericHandler.h ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
cmCTestGlobalVC.cxx cmCTestUpdateHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestGlobalVC.h cmCTestUpdateHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestHG.cxx stringapi: Miscellaneous char* parameters 2014-03-08 13:05:37 -05:00
cmCTestHG.h Convert CMake to OSI-approved BSD License 2009-09-28 11:43:28 -04:00
cmCTestHandlerCommand.cxx ctest_submit: Add QUIET option 2015-02-23 10:01:58 -05:00
cmCTestHandlerCommand.h ctest_submit: Add QUIET option 2015-02-23 10:01:58 -05:00
cmCTestLaunch.cxx Merge topic 'ctest-xml-refactor' 2015-05-28 09:56:53 -04:00
cmCTestLaunch.h cmCTestLaunch: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestMemCheckCommand.cxx ctest_memcheck: Add QUIET option 2015-02-23 10:02:00 -05:00
cmCTestMemCheckCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestMemCheckHandler.cxx cmCTest{Test,MemCheck}Handler: Port to cmXMLWriter 2015-05-26 11:09:22 -04:00
cmCTestMemCheckHandler.h cmCTest{Test,MemCheck}Handler: Port to cmXMLWriter 2015-05-26 11:09:22 -04:00
cmCTestMultiProcessHandler.cxx ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
cmCTestMultiProcessHandler.h ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
cmCTestP4.cxx Replace 'foo.size() == 0' pattern with foo.empty(). 2015-01-18 14:25:24 +01:00
cmCTestP4.h ctest_update: Add support for Perforce p4 client 2013-10-26 10:24:15 -04:00
cmCTestReadCustomFilesCommand.cxx Kate: handle spaces in build dir 2014-02-17 09:54:03 -05:00
cmCTestReadCustomFilesCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestRunScriptCommand.cxx Port all cmOStringStream to std::ostringstream. 2015-01-11 17:06:03 +01:00
cmCTestRunScriptCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestRunTest.cxx CTest: Capture test stdout/stderr through one pipe (#15600) 2015-06-03 08:47:49 -04:00
cmCTestRunTest.h ctest: Add a new --repeat-until-fail option 2015-03-23 09:08:22 -04:00
cmCTestSVN.cxx cmCTestUpdateHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestSVN.h cmCTestUpdateHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestScriptHandler.cxx ctest: Disable CMake Cygwin legacy warning in dashboard client script 2015-06-08 14:16:28 -04:00
cmCTestScriptHandler.h strings: Remove cmStdString references 2014-03-08 13:05:35 -05:00
cmCTestSleepCommand.cxx Remove trailing whitespace from most CMake and C/C++ code 2012-08-13 14:18:39 -04:00
cmCTestSleepCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestStartCommand.cxx ctest_start: Add QUIET option 2015-02-23 10:01:59 -05:00
cmCTestStartCommand.h ctest_start: Add QUIET option 2015-02-23 10:01:59 -05:00
cmCTestSubmitCommand.cxx ctest_submit: Add QUIET option 2015-02-23 10:01:58 -05:00
cmCTestSubmitCommand.h ctest_submit: Make CDASH_UPLOAD mode arguments more strict 2015-01-20 09:33:21 -05:00
cmCTestSubmitHandler.cxx Port Global property interaction to cmState. 2015-04-15 11:43:50 -04:00
cmCTestSubmitHandler.h ctest_submit: Add CDASH_UPLOAD mode to upload files to CDash 2015-01-20 09:33:21 -05:00
cmCTestTestCommand.cxx ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
cmCTestTestCommand.h ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
cmCTestTestHandler.cxx ctest: Optionally avoid starting tests that may exceed a given CPU load 2015-06-30 10:21:37 -04:00
cmCTestTestHandler.h cmCTest{Test,MemCheck}Handler: Port to cmXMLWriter 2015-05-26 11:09:22 -04:00
cmCTestUpdateCommand.cxx ctest_update: Add QUIET option 2015-02-23 10:01:59 -05:00
cmCTestUpdateCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestUpdateHandler.cxx ctest_update: Fix RETURN_VALUE on VCS tool failure (#15610) 2015-06-11 11:00:48 -04:00
cmCTestUpdateHandler.h Drop SGI as a CMake host compiler. 2015-01-08 22:10:14 +01:00
cmCTestUploadCommand.cxx ctest_upload: Add QUIET option 2015-02-23 10:02:00 -05:00
cmCTestUploadCommand.h stringapi: Command names 2014-03-08 13:05:39 -05:00
cmCTestUploadHandler.cxx cmCTestUploadHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestUploadHandler.h Implement ctest_upload command 2011-03-15 15:07:37 -04:00
cmCTestVC.cxx cmCTestUpdateHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmCTestVC.h cmCTestUpdateHandler: Port to cmXMLWriter 2015-05-26 11:09:21 -04:00
cmParseBlanketJSCoverage.cxx ctest_coverage: Add QUIET option 2015-02-23 10:02:00 -05:00
cmParseBlanketJSCoverage.h CTest: Add Javascript coverage parser 2014-10-29 11:27:11 -04:00
cmParseCacheCoverage.cxx ctest_coverage: Add QUIET option 2015-02-23 10:02:00 -05:00
cmParseCacheCoverage.h Remove uncovered files from cache coverage data. 2012-05-02 17:23:01 -04:00
cmParseCoberturaCoverage.cxx ctest_coverage: Add QUIET option 2015-02-23 10:02:00 -05:00
cmParseCoberturaCoverage.h CTest: Generalize Cobertura coverage format handling 2014-06-04 14:26:19 +00:00
cmParseDelphiCoverage.cxx ctest_coverage: Add QUIET option 2015-02-23 10:02:00 -05:00
cmParseDelphiCoverage.h CTest: Add code coverage parser for Pascal/Delphi 2014-10-21 15:02:20 -04:00
cmParseGTMCoverage.cxx Replace foo.size() pattern with !foo.empty(). 2015-01-18 14:25:24 +01:00
cmParseGTMCoverage.h Add test for mumps coverage. Also refactor code to prepare for cache coverage. 2012-05-01 13:35:07 -04:00
cmParseJacocoCoverage.cxx CTest: Fix Jacoco Coverage 2015-03-06 11:18:19 -05:00
cmParseJacocoCoverage.h CTest: Add Jacoco Coverage functionality 2014-06-12 10:38:19 -04:00
cmParseMumpsCoverage.cxx CTEST: Fix MUMPS file parser and update test 2014-08-15 10:50:36 -04:00
cmParseMumpsCoverage.h strings: Remove cmStdString references 2014-03-08 13:05:35 -05:00
cmParsePHPCoverage.cxx strings: Remove redundant calls to std::string::c_str() 2014-10-15 14:54:05 +02:00
cmParsePHPCoverage.h strings: Remove cmStdString references 2014-03-08 13:05:35 -05:00
cmProcess.cxx CTest: Capture test stdout/stderr through one pipe (#15600) 2015-06-03 08:47:49 -04:00
cmProcess.h CTest: Capture test stdout/stderr through one pipe (#15600) 2015-06-03 08:47:49 -04:00