Another attempt to handle valgrind behavior.

This commit is contained in:
Ralf W. Grosse-Kunstleve 2022-06-22 15:48:24 -07:00
parent b10fc2ef15
commit 5737b37dd4

View File

@ -535,8 +535,7 @@ endif()
add_custom_target(
memcheck
COMMAND
PYBIND11_TESTING_WITH_VALGRIND=1
PYTHONMALLOC=malloc
-E env PYBIND11_TESTING_WITH_VALGRIND=1 PYTHONMALLOC=malloc
valgrind
--leak-check=full
--show-leak-kinds=definite,indirect