summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-12 14:24:20 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-01-12 14:25:18 (GMT)
commitf31bb28c78c0d7876fdb62d4a45b1d0209c73556 (patch)
tree9c5d7b00922e677f06ed17afe6b4ac7846a0f1bf /Source/cmCTest.cxx
parent44dfe0bc13f4be39f070f866ec535ff8f3c8d0cb (diff)
parent5e7a4ad1a11dbc0313792497431d6eef975ab789 (diff)
downloadCMake-f31bb28c78c0d7876fdb62d4a45b1d0209c73556.zip
CMake-f31bb28c78c0d7876fdb62d4a45b1d0209c73556.tar.gz
CMake-f31bb28c78c0d7876fdb62d4a45b1d0209c73556.tar.bz2
Merge topic 'ctest-error-newlines'
5e7a4ad1a1 ctest: Add missing newlines on several error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8047
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 2938294..b00fa73 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1691,7 +1691,7 @@ bool cmCTest::SubmitExtraFiles(std::vector<std::string> const& files)
if (!cmSystemTools::FileExists(file)) {
cmCTestLog(this, ERROR_MESSAGE,
"Cannot find extra file: " << file << " to submit."
- << std::endl;);
+ << std::endl);
return false;
}
this->AddSubmitFile(PartExtraFiles, file);
@@ -2757,8 +2757,9 @@ int cmCTest::Run(std::vector<std::string>& args, std::string* output)
// intended
for (auto& handler : this->Impl->GetTestingHandlers()) {
if (!handler->ProcessCommandLineArguments(arg, i, args)) {
- cmCTestLog(this, ERROR_MESSAGE,
- "Problem parsing command line arguments within a handler");
+ cmCTestLog(
+ this, ERROR_MESSAGE,
+ "Problem parsing command line arguments within a handler\n");
return 0;
}
}