summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/ctest_test/TestLoadInvalid-stderr.txt
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2015-06-09 08:50:44 -0400
committerBrad King <brad.king@kitware.com>2015-06-30 10:21:37 -0400
commitf62d301b9257542f5460902c400af3f947f10a66 (patch)
tree8d21c57b3f3e7b5187b8c56781d7549cf0f93f47 /Tests/RunCMake/ctest_test/TestLoadInvalid-stderr.txt
parent07c550caa20d4b1d6ebc08269d744ff6a45c0a6d (diff)
downloadcmake-f62d301b9257542f5460902c400af3f947f10a66.tar.gz
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>
Diffstat (limited to 'Tests/RunCMake/ctest_test/TestLoadInvalid-stderr.txt')
-rw-r--r--Tests/RunCMake/ctest_test/TestLoadInvalid-stderr.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/ctest_test/TestLoadInvalid-stderr.txt b/Tests/RunCMake/ctest_test/TestLoadInvalid-stderr.txt
new file mode 100644
index 0000000000..40ddb3aec3
--- /dev/null
+++ b/Tests/RunCMake/ctest_test/TestLoadInvalid-stderr.txt
@@ -0,0 +1 @@
+^Invalid value for 'TEST_LOAD' : ERR1