diff options
author | Brad King <brad.king@kitware.com> | 2021-04-06 16:43:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-04-06 18:48:14 (GMT) |
commit | 82e40607a4b36d2ee8d3abec4dcd30a18b632ce9 (patch) | |
tree | 8a48a18662a3c2c9245e3339d3b0eba020601418 /Source/CTest | |
parent | 80da23f2a2cb5b24d0f785384640198366173a25 (diff) | |
download | CMake-82e40607a4b36d2ee8d3abec4dcd30a18b632ce9.zip CMake-82e40607a4b36d2ee8d3abec4dcd30a18b632ce9.tar.gz CMake-82e40607a4b36d2ee8d3abec4dcd30a18b632ce9.tar.bz2 |
ctest: Display test "WAITING" messages only in extra-verbose mode
These messages are incidental scheduling output. Avoid cluttering
the normal verbose output showing tests starting and finishing.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestMultiProcessHandler.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/CTest/cmCTestMultiProcessHandler.cxx b/Source/CTest/cmCTestMultiProcessHandler.cxx index 852f9d9..86a8e00 100644 --- a/Source/CTest/cmCTestMultiProcessHandler.cxx +++ b/Source/CTest/cmCTestMultiProcessHandler.cxx @@ -587,24 +587,24 @@ void cmCTestMultiProcessHandler::StartNextTests() onlyRunSerialTestsLeft = false; } } - cmCTestLog(this->CTest, HANDLER_OUTPUT, "***** WAITING, "); + cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "***** WAITING, "); if (this->SerialTestRunning) { - cmCTestLog(this->CTest, HANDLER_OUTPUT, + cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "Waiting for RUN_SERIAL test to finish."); } else if (onlyRunSerialTestsLeft) { - cmCTestLog(this->CTest, HANDLER_OUTPUT, + cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "Only RUN_SERIAL tests remain, awaiting available slot."); } else { /* clang-format off */ - cmCTestLog(this->CTest, HANDLER_OUTPUT, + cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "System Load: " << systemLoad << ", " "Max Allowed Load: " << this->TestLoad << ", " "Smallest test " << testWithMinProcessors << " requires " << minProcessorsRequired); /* clang-format on */ } - cmCTestLog(this->CTest, HANDLER_OUTPUT, "*****" << std::endl); + cmCTestLog(this->CTest, HANDLER_VERBOSE_OUTPUT, "*****" << std::endl); // Wait between 1 and 5 seconds before trying again. unsigned int milliseconds = (cmSystemTools::RandomSeed() % 5 + 1) * 1000; |