From 5737b37dd4f5643597185f4b75ee9ce8225c28d8 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 22 Jun 2022 15:48:24 -0700 Subject: [PATCH] Another attempt to handle valgrind behavior. --- tests/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index be7232e5a..20b995444 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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