python/selftest/findleaks.sh
Miro Hrončok 606e77a1ba Expand the OPENSSL_CONF=/non-existing-file comment
It's not just the minimum version now.
2019-12-02 18:24:15 +01:00

21 lines
688 B
Bash
Executable file

#!/bin/sh -eux
# set python version
VERSION=${VERSION:-3.7}
PYTHON=${PYTHON:-python${VERSION}dm}
# what to skip
# test_socket swaps and kills the machine https://bugs.python.org/issue34587
X=${X:-"-x test_socket"}
# Fedora sets explicit minimum/maximum TLS versions.
# Python's test suite assumes that the minimum/maximum 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
# https://bugzilla.redhat.com/show_bug.cgi?id=1778357
# https://bugs.python.org/issue35045
# https://bugs.python.org/issue38815
$PYTHON -m test.pythoninfo
$PYTHON -m test -wW --findleaks $X