summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-03 20:38:19 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-03 20:38:19 (GMT)
commitbaee28ce9bdd996836d1dadd2a51afef402d4347 (patch)
tree48416cf52cae27eda926541040194e4015f55f89
parent787ca6457bc944bf4ea75114420c81fdb2c2207f (diff)
downloadCMake-baee28ce9bdd996836d1dadd2a51afef402d4347.zip
CMake-baee28ce9bdd996836d1dadd2a51afef402d4347.tar.gz
CMake-baee28ce9bdd996836d1dadd2a51afef402d4347.tar.bz2
ENH: After running test clear results for memory checking
-rw-r--r--Source/cmCTest.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 5cb12f2..9c08544 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2389,6 +2389,7 @@ bool cmCTest::InitializeMemoryChecking()
int cmCTest::TestDirectory(bool memcheck)
{
+ m_TestResults.clear();
std::cout << (memcheck ? "Memory check" : "Test") << " project" << std::endl;
if ( memcheck )
{