mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 17:32:37 +00:00
Another attempt to handle valgrind behavior.
This commit is contained in:
parent
b10fc2ef15
commit
5737b37dd4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user