Could this problem be solved by running the tests in parallel?  For 
pyinstaller, I do this by Build-Depending on python3-pytest-xdist.

https://salsa.debian.org/python-team/packages/pyinstaller/-/blob/debian/
master/debian/control?ref_type=heads#L52

Then I set the “-n 8” test arg so that it builds with 8 parallel threads.

https://salsa.debian.org/python-team/packages/pyinstaller/-/blob/debian/
master/debian/rules?ref_type=heads#L25

I replicate this setup in debian/tests:

https://salsa.debian.org/python-team/packages/pyinstaller/-/blob/debian/
master/debian/tests/control?ref_type=heads#L3

https://salsa.debian.org/python-team/packages/pyinstaller/-/blob/debian/
master/debian/tests/upstream-tests?ref_type=heads#L17

-- 
Soren Stoutner
[email protected]

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to