Local valgrind test target

This commit is contained in:
Eric Soroos 2021-04-09 13:39:28 +02:00
parent e0e353c0ef
commit 43aa6ade6f
3 changed files with 23 additions and 0 deletions

View File

@ -102,6 +102,12 @@ sdist:
test:
pytest -qq
.PHONY: valgrind
valgrind:
PYTHONMALLOC=malloc valgrind --suppressions=Tests/oss-fuzz/python.supp --leak-check=no \
--log-file=/tmp/valgrind-output \
python3 -m pytest --no-memcheck -vv --valgrind --valgrind-log=/tmp/valgrind-output
.PHONY: readme
readme:
python3 setup.py --long-description | markdown2 > .long-description.html && open .long-description.html

View File

@ -0,0 +1,16 @@
{
<py3_8_encode_current_locale>
Memcheck:Cond
...
fun:encode_current_locale
}
{
<libtiff_zlib>
Memcheck:Cond
fun:inflate
fun:ZIPDecode
fun:_TIFFReadEncodedTileAndAllocBuffer
...
}

View File

@ -9,6 +9,7 @@ pyroma
pytest
pytest-cov
pytest-timeout
pytest-valgrind
sphinx>=2.4
sphinx-issues
sphinx-removed-in