Skip test_deadlock on s390x

This commit is contained in:
Karolina Surma 2024-06-07 14:06:06 +02:00
commit ab4372fd38

View file

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel b2
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 3%{?dist}
Release: 4%{?dist}
License: Python-2.0.1
@ -1262,6 +1262,8 @@ CheckPython() {
# see: https://github.com/python/cpython/issues/104280#issuecomment-1669249980
# test_gdb is skipped due to https://bugzilla.redhat.com/2275274#c11
# test_signal is skipped due to https://github.com/python/cpython/issues/118989
# test.test_concurrent_futures.test_deadlock tends to time out on s390x in
# freethreading{,-debug} build, skipping it to shorten the build time
LD_LIBRARY_PATH=$ConfDir $ConfDir/python -m test.regrtest \
-wW --slowest %{_smp_mflags} --timeout=2700 \
-i test_freeze_simple_script \
@ -1272,6 +1274,7 @@ CheckPython() {
%endif
%ifarch s390x
-x test_signal \
-i test_deadlock \
%endif
echo FINISHED: CHECKING OF PYTHON FOR CONFIGURATION: $ConfName
@ -1684,6 +1687,9 @@ CheckPython freethreading
# ======================================================
%changelog
* Fri Jun 07 2024 Karolina Surma <ksurma@redhat.com> - 3.13.0~b2-4
- Skip test_deadlock on s390x
* Thu Jun 06 2024 Python Maint <python-maint@redhat.com> - 3.13.0~b2-3
- Rebuilt for Python 3.13