summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorChristian Häggström <christian.haggstrom@orexplore.com>2023-01-03 19:33:37 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-11 20:52:37 (GMT)
commit5e7a4ad1a11dbc0313792497431d6eef975ab789 (patch)
treead24b5d381311991f916b1b2c8d4f7a1c812e73f /Source/cmCTest.cxx
parent51a0292d9cb24e13f6b600bc97d950ad4344cfa5 (diff)
downloadCMake-5e7a4ad1a11dbc0313792497431d6eef975ab789.zip
CMake-5e7a4ad1a11dbc0313792497431d6eef975ab789.tar.gz
CMake-5e7a4ad1a11dbc0313792497431d6eef975ab789.tar.bz2
ctest: Add missing newlines on several error messages
Without this: user@host:~$ ctest --build-and-test foo --build-and-test must have source and binary dir Problem parsing command line arguments within a handleruser@host:~$
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 f60a1e9..26c0467 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);
@@ -2758,8 +2758,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;
}
}