Skip to content

Commit

Permalink
[cmake] add gen-suppressions to unit test valgrind command
Browse files Browse the repository at this point in the history
  • Loading branch information
prashanthr05 committed Mar 23, 2021
1 parent f837c60 commit b58f9c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/AddBipedalLocomotionUnitTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if (FRAMEWORK_RUN_Valgrind_tests)
else ()
set(MEMORYCHECK_SUPPRESSIONS "")
endif ()
set(MEMORYCHECK_COMMAND_OPTIONS "--leak-check=full --error-exitcode=1 ${MEMORYCHECK_SUPPRESSIONS}" CACHE STRING "Options to pass to the memory checker")
set(MEMORYCHECK_COMMAND_OPTIONS "--leak-check=full --gen-suppressions=all --error-exitcode=1 ${MEMORYCHECK_SUPPRESSIONS}" CACHE STRING "Options to pass to the memory checker")
mark_as_advanced(MEMORYCHECK_COMMAND_OPTIONS)
set(MEMCHECK_COMMAND_COMPLETE "${MEMORYCHECK_COMMAND} ${MEMORYCHECK_COMMAND_OPTIONS}")
separate_arguments(MEMCHECK_COMMAND_COMPLETE)
Expand Down

0 comments on commit b58f9c2

Please sign in to comment.