Fix cont and remove comments
This commit is contained in:
parent
a69c70d2d7
commit
a32c7c39d7
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user