Blame selftest/parallel.sh

11bfd62
#!/bin/sh -eux
11bfd62
11bfd62
# set python version
11bfd62
VERSION=${VERSION:-3.7}
11bfd62
PYTHON=${PYTHON:-python$VERSION}
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
# parallel jobs, 0 lets Python decide what's best
11bfd62
JOBS=${JOBS:-0}
11bfd62
11bfd62
$PYTHON -m test -j$JOBS $X