ENH: Modify output based on wether it is tested or memory checked

This commit is contained in:
Andy Cedilnik 2005-09-19 15:11:54 -04:00
parent 53b3b56991
commit 51a19d99ba
1 changed files with 10 additions and 1 deletions

View File

@ -629,7 +629,16 @@ void cmCTestTestHandler::ProcessDirectory(std::vector<cmStdString> &passed,
}
cmCTestLog(m_CTest, HANDLER_OUTPUT, std::setw(3) << cnt << "/");
cmCTestLog(m_CTest, HANDLER_OUTPUT, std::setw(3) << tmsize << " Testing ");
cmCTestLog(m_CTest, HANDLER_OUTPUT, std::setw(3) << tmsize << " ");
if ( m_MemCheck )
{
cmCTestLog(m_CTest, HANDLER_OUTPUT, "Memory Check");
}
else
{
cmCTestLog(m_CTest, HANDLER_OUTPUT, "Testing");
}
cmCTestLog(m_CTest, HANDLER_OUTPUT, " ");
std::string outname = testname;
outname.resize(30, ' ');
*m_LogFile << cnt << "/" << tmsize << " Testing: " << testname