fix number of callers to work with newer versions of valgrind

This commit is contained in:
Bill Hoffman 2009-11-11 08:43:15 -05:00
parent 218bd8553a
commit 1b48d361d8

View File

@ -462,7 +462,7 @@ bool cmCTestMemCheckHandler::InitializeMemoryChecking()
if ( !this->MemoryTesterOptions.size() ) if ( !this->MemoryTesterOptions.size() )
{ {
this->MemoryTesterOptions = "-q --tool=memcheck --leak-check=yes " this->MemoryTesterOptions = "-q --tool=memcheck --leak-check=yes "
"--show-reachable=yes --workaround-gcc296-bugs=yes --num-callers=100"; "--show-reachable=yes --workaround-gcc296-bugs=yes --num-callers=50";
} }
if ( this->CTest->GetCTestConfiguration( if ( this->CTest->GetCTestConfiguration(
"MemoryCheckSuppressionFile").size() ) "MemoryCheckSuppressionFile").size() )