summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildAndTestHandler.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/CTest/cmCTestBuildAndTestHandler.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/CTest/cmCTestBuildAndTestHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildAndTestHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildAndTestHandler.cxx b/Source/CTest/cmCTestBuildAndTestHandler.cxx
index a39c52f..643bc6f 100644
--- a/Source/CTest/cmCTestBuildAndTestHandler.cxx
+++ b/Source/CTest/cmCTestBuildAndTestHandler.cxx
@@ -165,7 +165,7 @@ int cmCTestBuildAndTestHandler::RunCMakeAndTest(std::string* outstring)
if (outstring) {
*outstring = "--build-and-test requires that the generator "
"be provided using the --build-generator "
- "command line option. ";
+ "command line option.\n";
}
return 1;
}