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

View file

@ -20,6 +20,9 @@
- smokepypy3:
dir: smoke
run: VERSION=3.5 METHOD=venv PYTHON=pypy3 ./venv.sh
- selftest37:
dir: selftest
run: VERSION=3.7 X="-x test_socket -x test_asyncgen -x test_asyncio -x test_compile -x test_concurrent_futures -x test_itertools -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_shutil -x test_time -x test_multiprocessing_spawn -x test_threading -x test_wsgiref" ./parallel.sh
required_packages:
- gcc
- /usr/bin/virtualenv
@ -33,3 +36,5 @@
- pypy-devel
- pypy3-devel
- python3-tox
- python3-tkinter
- python3-test