From 51a19d99ba4e38fbe273e502ba8c8c5567eb18c5 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 19 Sep 2005 15:11:54 -0400 Subject: ENH: Modify output based on wether it is tested or memory checked --- Source/CTest/cmCTestTestHandler.cxx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx index 7dd6533..864be55 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 -- cgit v0.12