Fix cont and remove comments

This commit is contained in:
Andy Cedilnik 2003-02-11 09:19:36 -05:00
parent a69c70d2d7
commit a32c7c39d7
2 changed files with 6 additions and 6 deletions

View File

@ -283,8 +283,8 @@ void cmCTest::Initialize()
if ( tag.size() == 0 ) if ( tag.size() == 0 )
{ {
#ifdef HAVE_CURL #ifdef HAVE_CURL
std::cout << "TestModel: " << this->GetTestModelString() << std::endl; //std::cout << "TestModel: " << this->GetTestModelString() << std::endl;
std::cout << "TestModel: " << m_TestModel << std::endl; //std::cout << "TestModel: " << m_TestModel << std::endl;
if ( m_TestModel == cmCTest::NIGHTLY ) if ( m_TestModel == cmCTest::NIGHTLY )
{ {
int hour; int hour;
@ -303,7 +303,7 @@ void cmCTest::Initialize()
m_DartConfiguration["NightlyStartTime"].c_str(), m_DartConfiguration["NightlyStartTime"].c_str(),
&tctime); &tctime);
tctime = time(0); tctime = time(0);
std::cout << "Seconds: " << tctime << std::endl; //std::cout << "Seconds: " << tctime << std::endl;
if ( ntime > tctime ) if ( ntime > tctime )
{ {
// If nightlySeconds is in the past, this is the current // If nightlySeconds is in the past, this is the current
@ -312,9 +312,9 @@ void cmCTest::Initialize()
// dashboard to be opened, so subtract 24 hours to get the // dashboard to be opened, so subtract 24 hours to get the
// time of the current open dashboard // time of the current open dashboard
ntime -= (24 * 60 * 60 ); ntime -= (24 * 60 * 60 );
std::cout << "Pick yesterday" << std::endl; //std::cout << "Pick yesterday" << std::endl;
} }
std::cout << "nightlySeconds: " << ntime << std::endl; //std::cout << "nightlySeconds: " << ntime << std::endl;
lctime = gmtime(&ntime); lctime = gmtime(&ntime);
} }
#endif #endif

View File

@ -203,7 +203,7 @@ private:
std::string m_StartTest; std::string m_StartTest;
std::string m_EndTest; std::string m_EndTest;
bool m_TestModel; int m_TestModel;
/** /**
* Generate the Dart compatible output * Generate the Dart compatible output