summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-09 16:17:10 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-09 16:17:10 (GMT)
commit6503a0eecce984c3c5ede6f0d1f4951a14f9cc3f (patch)
treea47c2d44773e08cd539959332fbb7fe688b35090 /Source/CTest/cmCTestCoverageCommand.cxx
parent10d1b2079072150321ee29b249fc39f116671375 (diff)
downloadCMake-6503a0eecce984c3c5ede6f0d1f4951a14f9cc3f.zip
CMake-6503a0eecce984c3c5ede6f0d1f4951a14f9cc3f.tar.gz
CMake-6503a0eecce984c3c5ede6f0d1f4951a14f9cc3f.tar.bz2
STYLE: Fix some style issues
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 )
{