diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-05-03 13:40:16 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-05-03 13:40:16 (GMT) |
commit | de57a86298c761bd98f5f5e96a11fd1f51a99b70 (patch) | |
tree | d37b93421dcabd393b22dbc58e3fe9e09164264c /Source/CTest/cmCTestUpdateHandler.cxx | |
parent | c7feef30e2655bbb433050bb32f11dd4b053f227 (diff) | |
download | CMake-de57a86298c761bd98f5f5e96a11fd1f51a99b70.zip CMake-de57a86298c761bd98f5f5e96a11fd1f51a99b70.tar.gz CMake-de57a86298c761bd98f5f5e96a11fd1f51a99b70.tar.bz2 |
ENH: Cleanups
Diffstat (limited to 'Source/CTest/cmCTestUpdateHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.cxx b/Source/CTest/cmCTestUpdateHandler.cxx index 7aecdb1..d6b11af 100644 --- a/Source/CTest/cmCTestUpdateHandler.cxx +++ b/Source/CTest/cmCTestUpdateHandler.cxx @@ -218,13 +218,13 @@ int cmCTestUpdateHandler::ProcessHandler() std::cout << "Updating the repository: " << sourceDirectory << std::endl; // Get update command - std::string updateCommand = m_CTest->GetDartConfiguration("UpdateCommand"); + std::string updateCommand = m_CTest->GetCTestConfiguration("UpdateCommand"); if ( updateCommand.empty() ) { - updateCommand = m_CTest->GetDartConfiguration("CVSCommand"); + updateCommand = m_CTest->GetCTestConfiguration("CVSCommand"); if ( updateCommand.empty() ) { - updateCommand = m_CTest->GetDartConfiguration("SVNCommand"); + updateCommand = m_CTest->GetCTestConfiguration("SVNCommand"); if ( updateCommand.empty() ) { std::cerr << "Cannot find CVSCommand, SVNCommand, or UpdateCommand key in the DartConfiguration.tcl" << std::endl; @@ -242,20 +242,20 @@ int cmCTestUpdateHandler::ProcessHandler() } else { - updateType = this->DetermineType(updateCommand.c_str(), m_CTest->GetDartConfiguration("UpdateType").c_str()); + updateType = this->DetermineType(updateCommand.c_str(), m_CTest->GetCTestConfiguration("UpdateType").c_str()); } // And update options - std::string updateOptions = m_CTest->GetDartConfiguration("UpdateOptions"); + std::string updateOptions = m_CTest->GetCTestConfiguration("UpdateOptions"); if ( updateOptions.empty() ) { switch (updateType) { case cmCTestUpdateHandler::e_CVS: - updateOptions = m_CTest->GetDartConfiguration("CVSUpdateOptions"); + updateOptions = m_CTest->GetCTestConfiguration("CVSUpdateOptions"); break; case cmCTestUpdateHandler::e_SVN: - updateOptions = m_CTest->GetDartConfiguration("SVNUpdateOptions"); + updateOptions = m_CTest->GetCTestConfiguration("SVNUpdateOptions"); break; } } @@ -264,7 +264,7 @@ int cmCTestUpdateHandler::ProcessHandler() std::string extra_update_opts; if ( m_CTest->GetTestModel() == cmCTest::NIGHTLY ) { - struct tm* t = cmCTest::GetNightlyTime(m_CTest->GetDartConfiguration("NightlyStartTime"), + struct tm* t = cmCTest::GetNightlyTime(m_CTest->GetCTestConfiguration("NightlyStartTime"), m_Verbose, m_CTest->GetTomorrowTag()); char current_time[1024]; sprintf(current_time, "%04d-%02d-%02d %02d:%02d:%02d", @@ -418,8 +418,8 @@ int cmCTestUpdateHandler::ProcessHandler() os << "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" << "<Update mode=\"Client\" Generator=\"ctest-" << cmVersion::GetCMakeVersion() << "\">\n" - << "\t<Site>" << m_CTest->GetDartConfiguration("Site") << "</Site>\n" - << "\t<BuildName>" << m_CTest->GetDartConfiguration("BuildName") + << "\t<Site>" << m_CTest->GetCTestConfiguration("Site") << "</Site>\n" + << "\t<BuildName>" << m_CTest->GetCTestConfiguration("BuildName") << "</BuildName>\n" << "\t<BuildStamp>" << m_CTest->GetCurrentTag() << "-" << m_CTest->GetTestModelString() << "</BuildStamp>" << std::endl; |