mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 07:41:15 +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>
8 lines
248 B
Plaintext
8 lines
248 B
Plaintext
Test project .*/Tests/RunCMake/ctest_test/TestLoadPass-build
|
|
Start 1: RunCMakeVersion
|
|
1/1 Test #1: RunCMakeVersion .................. Passed +[0-9.]+ sec
|
|
+
|
|
100% tests passed, 0 tests failed out of 1
|
|
+
|
|
Total Test time \(real\) = +[0-9.]+ sec$
|