churchyard / tests / python

Forked from tests/python 5 years ago
Clone
11bfd62
#!/bin/sh -eux
11bfd62
11bfd62
# set python version
11bfd62
VERSION=${VERSION:-3.7}
11bfd62
PYTHON=${PYTHON:-python${VERSION}dm}
11bfd62
11bfd62
# what to skip
11bfd62
# test_socket swaps and kills the machine https://bugs.python.org/issue34587
11bfd62
X=${X:-"-x test_socket"}
11bfd62
11bfd62
$PYTHON -m test --findleaks $X