mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-24 13:07:00 +03:00
Moved Tests/oss-fuzz to Tests/oss_fuzz
This commit is contained in:
parent
208e9b52dc
commit
c58bf5309f
4
Makefile
4
Makefile
|
@ -106,14 +106,14 @@ test-p:
|
|||
.PHONY: valgrind
|
||||
valgrind:
|
||||
python3 -c "import pytest_valgrind" > /dev/null 2>&1 || python3 -m pip install pytest-valgrind
|
||||
PILLOW_VALGRIND_TEST=true PYTHONMALLOC=malloc valgrind --suppressions=Tests/oss-fuzz/python.supp --leak-check=no \
|
||||
PILLOW_VALGRIND_TEST=true 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: valgrind-leak
|
||||
valgrind-leak:
|
||||
python3 -c "import pytest_valgrind" > /dev/null 2>&1 || python3 -m pip install pytest-valgrind
|
||||
PILLOW_VALGRIND_TEST=true PYTHONMALLOC=malloc valgrind --suppressions=Tests/oss-fuzz/python.supp \
|
||||
PILLOW_VALGRIND_TEST=true 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 \
|
||||
python3 -m pytest -vv --valgrind --valgrind-log=/tmp/valgrind-output
|
||||
|
|
|
@ -188,10 +188,10 @@ lint.ignore = [
|
|||
"PYI034", # flake8-pyi: typing.Self added in Python 3.11
|
||||
"UP038", # pyupgrade: deprecated rule
|
||||
]
|
||||
lint.per-file-ignores."Tests/oss-fuzz/fuzz_font.py" = [
|
||||
lint.per-file-ignores."Tests/oss_fuzz/fuzz_font.py" = [
|
||||
"I002",
|
||||
]
|
||||
lint.per-file-ignores."Tests/oss-fuzz/fuzz_pillow.py" = [
|
||||
lint.per-file-ignores."Tests/oss_fuzz/fuzz_pillow.py" = [
|
||||
"I002",
|
||||
]
|
||||
lint.flake8-pytest-style.parametrize-names-type = "csv"
|
||||
|
|
Loading…
Reference in New Issue
Block a user