Disable test_green_device on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-05-24 14:12:04 +03:00
parent 60a04248d3
commit c9897a6de7
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3
1 changed files with 6 additions and 4 deletions

View File

@ -8,7 +8,7 @@ multiple transport protocols and more.}
Name: python-zmq
Version: 25.1.1
Release: %autorelease
Release: %autorelease -e 0.riscv64
Summary: Software library for fast, message-based applications
License: MPLv2.0 and ASL 2.0 and BSD
@ -95,10 +95,12 @@ find . -type f -executable | xargs chmod -x
cd %{_topdir}
%pytest --pyargs zmq -v --asyncio-mode auto \
%ifarch ppc64le
-k "not (test_draft or test_green_device or (Green and (test_raw or test_timeout or test_poll)))" # this crashes on Python 3.12, TODO investigate
%else
-k "not test_draft"
-k "not (test_green_device or (Green and (test_raw or test_timeout or test_poll)))" \ # this crashes on Python 3.12, TODO investigate
%endif
%ifarch riscv64
-k "not test_green_device" \
%endif
-k "not test_draft"
%files -n python%{python3_pkgversion}-zmq -f %{pyproject_files}