diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 5cb12f245..9c085446b 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 ) {