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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue