Use "--gen-suppressions=all" in valgrind

This commit is contained in:
Soonho Kong 2013-09-10 17:09:39 -07:00
parent 9b0f12931c
commit a993424165

View file

@ -12,7 +12,9 @@ set(CTEST_NIGHTLY_START_TIME "00:00:00 EST")
# Specify MEMCHECK Option: http://valgrind.org/docs/manual/mc-manual.html
# Note: We use "--trace-children=yes" to valgrind-ise child processes (follow execve)
# Note: We turn off "--show-reachable=yes" option.
SET (VALGRIND_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes --leak-check=full --track-origins=yes")
SET (VALGRIND_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes
--workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes
--leak-check=full --track-origins=yes --gen-suppressions=all")
SET (MEMORYCHECK_SUPPRESSIONS_FILE "${CMAKE_SOURCE_DIR}/memcheck.supp")
set(CTEST_DROP_METHOD "http")