mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 00:02:24 +03:00
Adding pytest-valgrind install
This commit is contained in:
parent
7aa6a61d43
commit
fb126af7a6
1
Makefile
1
Makefile
|
@ -101,6 +101,7 @@ valgrind:
|
||||||
|
|
||||||
.PHONY: valgrind-leak
|
.PHONY: valgrind-leak
|
||||||
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 \
|
PYTHONMALLOC=malloc valgrind --suppressions=Tests/oss-fuzz/python.supp \
|
||||||
--leak-check=full --show-leak-kinds=definite --errors-for-leak-kinds=definite \
|
--leak-check=full --show-leak-kinds=definite --errors-for-leak-kinds=definite \
|
||||||
--log-file=/tmp/valgrind-output \
|
--log-file=/tmp/valgrind-output \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user