From 6d10e978dc516d8f7b13560aca5a2e1388ebd114 Mon Sep 17 00:00:00 2001 From: Soonho Kong Date: Tue, 24 Sep 2013 21:36:03 -0700 Subject: [PATCH] Add "--gen-suppressions=all" to valgrind option --- src/CTestConfig.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CTestConfig.cmake b/src/CTestConfig.cmake index 41d93c950..c8dca9e5b 100644 --- a/src/CTestConfig.cmake +++ b/src/CTestConfig.cmake @@ -14,8 +14,8 @@ set(CTEST_NIGHTLY_START_TIME "00:00:00 EST") # Note: We turn off "--show-reachable=yes" option. #set(MEMORYCHECK_SUPPRESSIONS_FILE ${CMAKE_SOURCE_DIR}/memcheck.supp) file(TO_CMAKE_PATH "${CMAKE_SOURCE_DIR}/memcheck.supp" MEMORYCHECK_SUPPRESSIONS_FILE) -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(MEMORYCHECK_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_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --workaround-gcc296-bugs=yes --num-callers=50 --trace-children=yes --leak-check=full --track-origins=yes --get-suppressions=all") set(CTEST_DROP_METHOD "http") set(CTEST_DROP_SITE "cmacslab2.modck.cs.cmu.edu")