File tree Expand file tree Collapse file tree
ubuntu-24.04-noble-amd64-valgrind Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ ARG PIP_NO_CACHE_DIR=1
4343
4444RUN virtualenv -p /usr/bin/python3.12-dbg --system-site-packages /vpy3 \
4545 && /vpy3/bin/pip install --upgrade pip \
46- && /vpy3/bin/pip install olefile pytest pytest-cov pytest-timeout pytest-valgrind \
46+ && /vpy3/bin/pip install olefile pytest pytest-cov pytest-timeout pytest-valgrind pytest-xdist \
4747 && chown -R pillow:pillow /vpy3
4848
4949COPY depends /depends
Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ cd /Pillow
44make clean
55make install-coverage
66
7- PYTHONMALLOC=malloc valgrind --suppressions=/depends/python.supp --leak-check=no \
8- --log-file=/tmp/valgrind-output \
9- python3 -m pytest --no-memcheck -vv --valgrind --valgrind-log=/tmp/valgrind-output
7+ PYTHONMALLOC=malloc valgrind --trace-children=yes --trace-children-skip=' */gs' \
8+ --suppressions=/depends/python.supp --leak-check=no \
9+ --log-file=/tmp/valgrind-output.%p \
10+ python3 -m pytest --no-memcheck -vv --valgrind -n auto
1011
1112# To run one test in the image:
1213# make bash
You can’t perform that action at this time.
0 commit comments