thrnciar / tests / python

Forked from tests/python 3 years ago
Blob Blame History Raw
#!/bin/sh -eux

# set python version

# what to skip
# test_socket swaps and kills the machine
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

$PYTHON -m test.pythoninfo
$PYTHON -m test -wW --findleaks $X