- Skip running the test units in %check for now.

Some tests don't appreciate to run inside the build environment of OBS
  currently and some of them take an unexpected long time to execute on both
  risc and s390x architectures.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1544
This commit is contained in:
Franck Bui 2024-07-16 14:31:57 +00:00 committed by Git OBS Bridge
parent 566be305a3
commit 858d1db998
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jul 16 14:29:24 UTC 2024 - Franck Bui <fbui@suse.com>
- Skip running the test units in %check for now.
Some tests don't appreciate to run inside the build environment of OBS
currently and some of them take an unexpected long time to execute on both
risc and s390x architectures.
-------------------------------------------------------------------
Thu Jul 11 10:17:06 UTC 2024 - Franck Bui <fbui@suse.com>

View File

@ -1084,8 +1084,10 @@ rm -f %{buildroot}%{_systemd_util_dir}/systemd-ssh-proxy
%systemd_pre systemd-userdbd.service
%check
%if %{with upstream}
# Run the unit tests.
%meson_test
%endif
%post
if [ $1 -eq 1 ]; then