mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 22:30:13 -06:00
ctest: drop incremental progress-only messages from build-and-test output
The cmake progress callback is called with non-negative progress values to provide incremental updates on "Configuring" and "Generating" steps. These are useful in interactive views but are just noise in test output.
This commit is contained in:
@@ -126,11 +126,12 @@ public:
|
||||
cmSystemTools::SetStdoutCallback([&s](std::string const& m) { s += m; });
|
||||
cmSystemTools::SetStderrCallback([&s](std::string const& m) { s += m; });
|
||||
|
||||
this->CM.SetProgressCallback(
|
||||
[&s](const std::string& msg, float /*unused*/) {
|
||||
this->CM.SetProgressCallback([&s](const std::string& msg, float prog) {
|
||||
if (prog < 0) {
|
||||
s += msg;
|
||||
s += "\n";
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
~cmCTestBuildAndTestCaptureRAII()
|
||||
|
||||
Reference in New Issue
Block a user