BUG: Initialize to something resonable
This commit is contained in:
parent
bf6b379b11
commit
baa7b749e4
|
@ -592,6 +592,8 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
|
||||||
const std::string& testname = it->m_Name;
|
const std::string& testname = it->m_Name;
|
||||||
std::vector<std::string>& args = it->m_Args;
|
std::vector<std::string>& args = it->m_Args;
|
||||||
cmCTestTestResult cres;
|
cmCTestTestResult cres;
|
||||||
|
cres.m_ExecutionTime = 0;
|
||||||
|
cres.m_ReturnValue = -1;
|
||||||
cres.m_Status = cmCTestTestHandler::NOT_RUN;
|
cres.m_Status = cmCTestTestHandler::NOT_RUN;
|
||||||
cres.m_TestCount = cnt;
|
cres.m_TestCount = cnt;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue