Accepting request 914829 from home:Andreas_Schwab:Factory

- test_faulthandler is still problematic under qemu linux-user emulation,
  disable it there
- Reenable profileopt with qemu emulation, test_faulthandler is no longer
  run during profiling

OBS-URL: https://build.opensuse.org/request/show/914829
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python38?expand=0&rev=78
This commit is contained in:
Matej Cepl 2021-08-29 06:01:55 +00:00 committed by Git OBS Bridge
parent 59e479a405
commit 24200752c4
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 26 12:00:25 UTC 2021 - Andreas Schwab <schwab@suse.de>
- test_faulthandler is still problematic under qemu linux-user emulation,
disable it there
- Reenable profileopt with qemu emulation, test_faulthandler is no longer
run during profiling
-------------------------------------------------------------------
Tue Aug 10 00:25:26 UTC 2021 - Fusion Future <qydwhotmail@gmail.com>

View File

@ -80,12 +80,7 @@
# pyexpat.cpython-35m-armv7-linux-gnueabihf
# _md5.cpython-38m-x86_64-linux-gnu.so
%define dynlib() %{sitedir}/lib-dynload/%{1}.cpython-%{abi_tag}-%{archname}-%{_os}%{?_gnu}%{?armsuffix}.so
# deadlocks on test_faulthandler and blocks the build
%if 0%{?qemu_user_space_build}
%bcond_with profileopt
%else
%bcond_without profileopt
%endif
Name: %{python_pkg_name}%{psuffix}
Version: 3.8.11
Release: 0
@ -506,7 +501,7 @@ EXCLUDE="$EXCLUDE test_faulthandler"
%endif
# some tests break in QEMU
%if 0%{?qemu_user_space_build}
EXCLUDE="$EXCLUDE test_multiprocessing_forkserver test_multiprocessing_spawn test_os test_posix test_signal test_socket test_subprocess"
EXCLUDE="$EXCLUDE test_faulthandler test_multiprocessing_forkserver test_multiprocessing_spawn test_os test_posix test_signal test_socket test_subprocess"
%endif
# This test (part of test_uuid) requires real network interfaces