Run Python 3.7 selftest tests in selftest tests of these tests
This commit is contained in:
parent
81d0de13aa
commit
97db1f97bb
3 changed files with 17 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue