Bug 1563 - reduce valgrind test scope

This commit is contained in:
Mitch Watrous
2013-04-01 11:34:43 -07:00
parent 64eb45017f
commit bf393eb7d7

View File

@@ -704,7 +704,10 @@ TestRunnerImpl::FilterTests (std::string testName,
// duration that should be run, then don't run it.
if (testCase->m_duration > maximumTestDuration)
{
// Remove this test case.
// Free this test case's memory.
delete *j;
// Remove this test case from the test suite.
test->m_children.erase (j);
}
else