python/selftest/parallel.sh
Tomas Hrnciar f2b309e8a7 OPENSSL_CONF=/non-existing-file comment
It's again just the minimum version.
2020-03-27 14:29:31 +01:00

21 lines
617 B
Bash
Executable file

#!/bin/sh -eux
# set python version
VERSION=${VERSION:-3.7}
PYTHON=${PYTHON:-python$VERSION}
# what to skip
# test_socket swaps and kills the machine https://bugs.python.org/issue34587
X=${X:-"-x test_socket"}
# parallel jobs, 0 lets Python decide what's best
JOBS=${JOBS:-0}
# Fedora sets TLSv1 as explicit minimum versions.
# Python's test suite assumes that the minimum protocol version is set to
# a magic marker. We workaround the test problem by setting:
export OPENSSL_CONF=/non-existing-file
# https://bugzilla.redhat.com/show_bug.cgi?id=1618753
$PYTHON -m test.pythoninfo
$PYTHON -m test -wW -j$JOBS $X