thrnciar / tests / python

Forked from tests/python 4 years ago
Clone

Blame selftest/findleaks.sh

11bfd62
#!/bin/sh -eux
11bfd62
11bfd62
# set python version
11bfd62
VERSION=${VERSION:-3.7}
11bfd62
PYTHON=${PYTHON:-python${VERSION}dm}
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
97db1f9
# Fedora sets TLSv1 as explicit minimum version.
97db1f9
# Python's test suite assumes that the minimum protocol version is set to
97db1f9
# a magic marker. We workaround the test problem by setting:
97db1f9
export OPENSSL_CONF=/non-existing-file
97db1f9
# https://bugzilla.redhat.com/show_bug.cgi?id=1618753
97db1f9
11bfd62
$PYTHON -m test --findleaks $X