fix test error

(cherry picked from commit 2215b37af0c4f8feb1685ddca9782d8fe5156de5)
This commit is contained in:
yangl777 2024-04-19 03:41:39 +00:00 committed by openeuler-sync-bot
parent 9b38f5899a
commit ffb4cdafed

View File

@ -1,6 +1,7 @@
#needsrootforbuild
Name: at-spi2-core Name: at-spi2-core
Version: 2.42.0 Version: 2.42.0
Release: 3 Release: 4
Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project. Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project.
License: LGPLv2+ License: LGPLv2+
@ -41,7 +42,13 @@ The API documentation and header files of litabspi are included by %{name}-devel
%ldconfig_scriptlets %ldconfig_scriptlets
%check %check
dbus-launch ninja -C %{_host} test if [ ! -e /usr/libexec/at-spi-bus-launcher ];then
ninja -C %{_host} install
dbus-launch ninja -C %{_host} test
ninja -C %{_host} uninstall
else
dbus-launch ninja -C %{_host} test
fi
%files %files
%doc AUTHORS %doc AUTHORS
@ -70,6 +77,9 @@ dbus-launch ninja -C %{_host} test
%{_datadir}/gtk-doc/html/libatspi %{_datadir}/gtk-doc/html/libatspi
%changelog %changelog
* Fri Apr 19 2024 yanglu <yanglu72@h-partners.com> - 2.42.0-4
- fix test error
* Fri Nov 10 2023 zhangpan <zhangpan103@h-partners.com> - 2.42.0-3 * Fri Nov 10 2023 zhangpan <zhangpan103@h-partners.com> - 2.42.0-3
- enable make check - enable make check