STYLE: Fix kwstyle

This commit is contained in:
Andy Cedilnik 2006-10-15 07:54:52 -04:00
parent 3206db15b3
commit 2071291956
3 changed files with 11 additions and 7 deletions

View File

@ -429,8 +429,10 @@ int cmCPackGenericGenerator::InstallProjectViaInstallScript(
{
this->SetOption("CMAKE_INSTALL_PREFIX", tempInstallDirectory);
}
this->SetOptionIfNotSet("CMAKE_CURRENT_BINARY_DIR", tempInstallDirectory);
this->SetOptionIfNotSet("CMAKE_CURRENT_SOURCE_DIR", tempInstallDirectory);
this->SetOptionIfNotSet("CMAKE_CURRENT_BINARY_DIR",
tempInstallDirectory);
this->SetOptionIfNotSet("CMAKE_CURRENT_SOURCE_DIR",
tempInstallDirectory);
int res = this->MakefileMap->ReadListFile(0, installScript.c_str());
if ( cmSystemTools::GetErrorOccuredFlag() || !res )
{

View File

@ -251,7 +251,8 @@ int cmCTestCoverageHandler::ProcessHandler()
if ( files.size() == 0 )
{
cmCTestLog(this->CTest, WARNING, " Cannot find any coverage files. Ignoring Coverage request."
cmCTestLog(this->CTest, WARNING,
" Cannot find any coverage files. Ignoring Coverage request."
<< std::endl);
// No coverage files is a valid thing, so the exit code is 0
cmSystemTools::ChangeDirectory(currentDirectory.c_str());

View File

@ -1490,20 +1490,21 @@ bool cmCTest::AddTestsForDashboardType(std::string &targ)
else
{
cmCTestLog(this, ERROR_MESSAGE,
"CTest -D called with incorrect option: " << targ << std::endl);
"CTest -D called with incorrect option: "
<< targ << std::endl);
cmCTestLog(this, ERROR_MESSAGE, "Available options are:" << std::endl
<< " " << "ctest" << " -D Continuous" << std::endl
<< " " << "ctest"
<< " -D Continuous(Start|Update|Configure|Build)" << std::endl
<< " " << "ctest"
<< " -D Continuous(Test|Coverage|MemCheck|Submit)"
<< " -D Continuous(Test|Coverage|MemCheck|Submit)"
<< std::endl
<< " " << "ctest" << " -D Experimental" << std::endl
<< " " << "ctest"
<< " -D Experimental(Start|Update|Configure|Build)"
<< " -D Experimental(Start|Update|Configure|Build)"
<< std::endl
<< " " << "ctest"
<< " -D Experimental(Test|Coverage|MemCheck|Submit)"
<< " -D Experimental(Test|Coverage|MemCheck|Submit)"
<< std::endl
<< " " << "ctest" << " -D Nightly" << std::endl
<< " " << "ctest"