summaryrefslogtreecommitdiffstats
path: root/Source/CTest
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-19 19:11:54 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-09-19 19:11:54 (GMT)
commit51a19d99ba4e38fbe273e502ba8c8c5567eb18c5 (patch)
treef2417d6572a9501001f6cb8de0ccd31d874d7e32 /Source/CTest
parent53b3b56991bc9d67248b478c8ea7472fdeb51ba4 (diff)
downloadCMake-51a19d99ba4e38fbe273e502ba8c8c5567eb18c5.zip
CMake-51a19d99ba4e38fbe273e502ba8c8c5567eb18c5.tar.gz
CMake-51a19d99ba4e38fbe273e502ba8c8c5567eb18c5.tar.bz2
ENH: Modify output based on wether it is tested or memory checked
Diffstat (limited to 'Source/CTest')
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx11
1 files changed, 10 insertions, 1 deletions
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<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