Run Python 3.7 selftest tests in selftest tests of these tests

This commit is contained in:
Miro Hrončok 2018-11-29 15:22:23 +01:00
commit 97db1f97bb
3 changed files with 17 additions and 0 deletions

View file

@ -8,4 +8,10 @@ PYTHON=${PYTHON:-python${VERSION}dm}
# test_socket swaps and kills the machine https://bugs.python.org/issue34587
X=${X:-"-x test_socket"}
# Fedora sets TLSv1 as explicit minimum version.
# 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 --findleaks $X

View file

@ -11,4 +11,10 @@ X=${X:-"-x test_socket"}
# parallel jobs, 0 lets Python decide what's best
JOBS=${JOBS:-0}
# Fedora sets TLSv1 as explicit minimum version.
# 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 -j$JOBS $X