summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestCoverageCommand.cxx')
-rw-r--r--Source/CTest/cmCTestCoverageCommand.cxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.cxx b/Source/CTest/cmCTestCoverageCommand.cxx
index 340693e..bcb3239 100644
--- a/Source/CTest/cmCTestCoverageCommand.cxx
+++ b/Source/CTest/cmCTestCoverageCommand.cxx
@@ -9,8 +9,8 @@
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
- This software is distributed WITHOUT ANY WARRANTY; without even
- the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ This software is distributed WITHOUT ANY WARRANTY; without even
+ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
@@ -43,16 +43,18 @@ bool cmCTestCoverageCommand::InitialPass(
{
if ( res_var )
{
- this->SetError("called with incorrect number of arguments. RETURN_VALUE specified twice.");
+ this->SetError("called with incorrect number of arguments. "
+ "RETURN_VALUE specified twice.");
return false;
}
havereturn_variable = true;
- }
+ }
else if(args[i] == "BUILD")
{
if ( build_dir )
{
- this->SetError("called with incorrect number of arguments. BUILD specified twice.");
+ this->SetError("called with incorrect number of arguments. "
+ "BUILD specified twice.");
return false;
}
havesource = true;
@@ -60,7 +62,8 @@ bool cmCTestCoverageCommand::InitialPass(
else
{
cmOStringStream str;
- str << "called with incorrect number of arguments. Extra argument is: " << args[i].c_str() << ".";
+ str << "called with incorrect number of arguments. Extra argument is: "
+ << args[i].c_str() << ".";
this->SetError(str.str().c_str());
return false;
}
@@ -81,7 +84,8 @@ bool cmCTestCoverageCommand::InitialPass(
return false;
}
std::string current_dir = cmSystemTools::GetCurrentWorkingDirectory();
- cmSystemTools::ChangeDirectory(m_CTest->GetCTestConfiguration("BuildDirectory").c_str());
+ cmSystemTools::ChangeDirectory(
+ m_CTest->GetCTestConfiguration("BuildDirectory").c_str());
int res = handler->ProcessHandler();
if ( res_var )
{