Disable the bug_307 test only on platform where it fails

OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python3-pyside2?expand=0&rev=53
This commit is contained in:
Christophe Marin 2021-07-18 09:21:23 +00:00 committed by Git OBS Bridge
parent 9de6fb5ef9
commit 37fde23b46

View File

@ -135,11 +135,14 @@ Examples and Tutorials for the PySide2 bindings for Qt.
%if "%{_lib}" == "lib64"
%patch0 -p1
%endif
# Test expects depth of 32
printf '[QtGui::qdatastream_gui_operators_test]\n linux\n' >> build_history/blacklist.txt
# bug_307 fails on armv7l only
%ifarch %{arm}
printf '[QtWidgets::bug_307]\n linux\n' >> build_history/blacklist.txt
%endif
%build
export LLVM_INSTALL_DIR=%{_prefix}