!34 [sync] PR-33: fix test error

From: @openeuler-sync-bot 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
This commit is contained in:
openeuler-ci-bot 2024-04-19 07:35:04 +00:00 committed by Gitee
commit a2f7c0950d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,7 @@
#needsrootforbuild
Name: at-spi2-core
Version: 2.42.0
Release: 3
Release: 4
Summary: The At-Spi2 Core package is a part of the GNOME Accessibility Project.
License: LGPLv2+
@ -41,7 +42,13 @@ The API documentation and header files of litabspi are included by %{name}-devel
%ldconfig_scriptlets
%check
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
%doc AUTHORS
@ -70,6 +77,9 @@ dbus-launch ninja -C %{_host} test
%{_datadir}/gtk-doc/html/libatspi
%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
- enable make check