Adding pytest-valgrind install

This commit is contained in:
Eric Soroos 2025-05-15 21:10:48 +02:00
parent 7aa6a61d43
commit fb126af7a6

View File

@ -101,6 +101,7 @@ valgrind:
.PHONY: valgrind-leak
valgrind-leak:
python3 -c "import pytest_valgrind" > /dev/null 2>&1 || python3 -m pip install pytest-valgrind
PYTHONMALLOC=malloc valgrind --suppressions=Tests/oss-fuzz/python.supp \
--leak-check=full --show-leak-kinds=definite --errors-for-leak-kinds=definite \
--log-file=/tmp/valgrind-output \