Message350626
FYI in the past, Fedora and RHEL packages skipped multiple tests using downstream patches. Hopefully, we managed to reenable almost all tests.
Currently in Fedora, the python3 package use regrtest -x to skip some tests:
# Run the upstream test suite
# test_gdb skipped on s390x:
# https://bugzilla.redhat.com/show_bug.cgi?id=1678277
# test_gdb skipped everywhere:
# https://bugzilla.redhat.com/show_bug.cgi?id=1734327
# test_distutils
# distutils.tests.test_bdist_rpm tests fail when bootstraping the Python
# package: rpmbuild requires /usr/bin/pythonX.Y to be installed
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
-wW --slowest -j0 \
%if %{with bootstrap}
-x test_distutils \
%endif
-x test_gdb \
%ifarch %{mips64}
-x test_ctypes \
%endif
https://src.fedoraproject.org/rpms/python3/blob/master/f/python3.spec
We could only skip some test methods, but it's simpler for us to skip a whole test file. |
|
Date |
User |
Action |
Args |
2019-08-27 10:13:55 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, pablogsal |
2019-08-27 10:13:55 | vstinner | set | messageid: <1566900835.39.0.00957424361028.issue37957@roundup.psfhosted.org> |
2019-08-27 10:13:55 | vstinner | link | issue37957 messages |
2019-08-27 10:13:55 | vstinner | create | |
|