Fix pytest valgrind warnings#5373
Conversation
|
Thanks! Confirmed fixed in a dummy commit: https://github.com/hugovk/Pillow/runs/2244123927?check_suite_focus=true |
|
Although it does detect a bunch of errors. Should these also fail the CI? |
|
There are a few XFAILed here because they're undefined behaviour and I haven't tracked them down yet. (some of which are deep in JPEG guts). The recent addition of the fuzzer test -- which runs all the images through open/load has retriggered some of them that are xfailed (I think) but I haven't had a chance to get to them. My idea for now is to prevent additional items from making valgrind worse. Which I'm failing at a bit with the fuzzer test, but to be fair, that's increased testing, not increased code to be tested. |
Potential fix for pytest-valgrind mark not defined for non-valgrind docker tests.