Skip to content

Commit

Permalink
show origins in valgrind runs and drop reachable memory leak warnings…
Browse files Browse the repository at this point in the history
… (too many false positives)
  • Loading branch information
Soeren Sonnenburg committed Feb 8, 2014
1 parent 57bcf1e commit be8c340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -973,7 +973,7 @@ OPTION(BUILD_DASHBOARD_REPORTS "Set to ON to activate reporting of Shogun builds
IF(BUILD_DASHBOARD_REPORTS)
file(TO_CMAKE_PATH "${CMAKE_SOURCE_DIR}/configs/valgrind.supp" VALGRIND_SUPPRESSION_FILE)
SET(MEMORYCHECK_SUPPRESSIONS_FILE ${VALGRIND_SUPPRESSION_FILE} CACHE FILEPATH "File that contains suppressions for the memory checker")
SET(MEMORYCHECK_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=yes --show-reachable=yes --workaround-gcc296-bugs=yes --num-callers=50 --error-exitcode=1")
SET(MEMORYCHECK_COMMAND_OPTIONS "-q --tool=memcheck --leak-check=full --track-origins=yes --num-callers=50 --error-exitcode=1")
include(CTest)
ENDIF()

Expand Down

0 comments on commit be8c340

Please sign in to comment.