diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 7dd6533df..864be5533 100644 --- a/Source/CTest/cmCTestTestHandler.cxx +++ b/Source/CTest/cmCTestTestHandler.cxx @@ -629,7 +629,16 @@ void cmCTestTestHandler::ProcessDirectory(std::vector &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